Skip to content

Updated YouTube XML format#1906

Open
swigls wants to merge 2 commits into
pytube:masterfrom
swigls:patch-1
Open

Updated YouTube XML format#1906
swigls wants to merge 2 commits into
pytube:masterfrom
swigls:patch-1

Conversation

@swigls
Copy link
Copy Markdown

@swigls swigls commented Apr 3, 2024

YouTube XML format seems to be changed recently,
thus updated that changes in format to the code.
(If this update is only observed by me, please just ignore and close this PR)

The "changes" I updated:

  • Timestamped elements location: child of root -> child of body
  • start time keyword: start -> t
  • duration keyword: dur -> d

swigls added 2 commits April 3, 2024 16:00
YouTube XML format seems to be changed recently,
thus updated that change in format to the code
duration and start times are presented in milliseconds (rather than seconds), thus divide them by 1000
@SK1Y101
Copy link
Copy Markdown

SK1Y101 commented Jun 25, 2024

Bump: This change would be super helpful!
Seems to address #1085, which is the same I've encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants