Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[CWTV] Episode # Mismatch #20461
[CWTV] Episode # Mismatch #20461
Comments
|
As far as I can tell the following line is what causes this issue. |
|
That makes sense. If the episode number was 114, then lstrip(1) would remove "11" leaving "4" since it removes all of the "1" characters at the left of the string. Could the solution be as simple as this? |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.03.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Episode number is for the below Legacies link is '14' but youtube-dl keeps saying it's '04'. This has occurred for every Legacies episode past 10. For example, '11' is returned as '01'.
https://www.cwtv.com/shows/legacies/lets-just-finish-the-dance/?play=a86515a5-2a0e-43d8-9546-64f1bc4f6da4
When I look at the dump using the write-pages parameter, I can see the following info in one of the files and it shows it as episode 14.
<param name="assetId" value="a86515a5-2a0e-43d8-9546-64f1bc4f6da4"/> <param name="brand" value="CWTV"/> <param name="bugEnabled" value="false"/> <param name="contentType" value="Full Episodes"/> <param name="episodeNumber" value="14"/> <param name="isFullEpisode" value="true"/> <param name="publishDate" value="2019-03-14T00:00:00-0700"/> <param name="seasonNumber" value="1"/> <param name="seriesCode" value="LGC"/> <param name="seriesTitle" value="Legacies"/> <param name="tmsId" value="EP029731020014"/> <param name="videoId" value="a86515a5-2a0e-43d8-9546-64f1bc4f6da4"/>I've attached the dump files for your review.
Legacies_Episode_14_write-pages_Output.zip