Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--playlist-items shouldn't apply on inner playlists #10122

Open
shengdie opened this issue Jul 19, 2016 · 0 comments
Open

--playlist-items shouldn't apply on inner playlists #10122

shengdie opened this issue Jul 19, 2016 · 0 comments
Labels
bug

Comments

@shengdie
Copy link

@shengdie shengdie commented Jul 19, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.07.17

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

Here is the command,

$ youtube-dl.exe -v --geo-verification-proxy MY_PROXY --playlist-items 3,4 -o "%(title)s-%(id)s.%(ext)s" http://www.youku.com/show_page/id_zee1e0fe402e211e6a080.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '--geo-verification-proxy', 'proxy.uku.im:443', '--playlist-items', '3,4', '-o', '%(title)s-%(id)s.%(ext)s', 'http://www.youku.com/show_page/id_zee1e0fe402e211e6a080.html']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2016.07.17
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: none
[debug] Proxy map: {}
[youku:show] zee1e0fe402e211e6a080: Downloading webpage
[youku:show] zee1e0fe402e211e6a080: Downloading episodes page 1
[download] Downloading playlist: 致青春
[youku:show] playlist 致青春: Collected 19 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[youku] XMTY0MDc2MzE0OA: Downloading JSON metadata
[download] Downloading playlist: 致青春 03
[youku] playlist 致青春 03: Collected 2 video ids (downloading 0 of them)
[download] Finished downloading playlist: 致青春 03
[download] Downloading video 2 of 2
[youku] XMTY0MDc4MjA3Mg: Downloading JSON metadata
[download] Downloading playlist: 致青春 04
[youku] playlist 致青春 04: Collected 2 video ids (downloading 0 of them)
[download] Finished downloading playlist: 致青春 04
[download] Finished downloading playlist: 致青春

This is a TV-play, I would like to download episodes 3 and 4, but you know many Chinese websites
will split one video into several parts (2 parts of per episode in this TV-play), the program takes these
parts as another playlist (sublist), so the arg "--playlist-items" is also executed in this sublist, so
nothing is downloaded finally.

If I choose to download episodes 2 and 3, I get
$ youtube-dl.exe -v --geo-verification-proxy MY_PROXY --playlist-items 2,3 -o "%(title)s-%(id)s.%(ext)s" http://www.youku.com/show_page/id_zee1e0fe402e211e6a080.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '--geo-verification-proxy', 'proxy.uku.im:443', '--playlist-items', '2,3', '-o', '%(title)s-%(id)s.%(ext)s', 'http://www.youku.com/show_page/id_zee1e0fe402e211e6a080.html']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2016.07.17
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: none
[debug] Proxy map: {}
[youku:show] zee1e0fe402e211e6a080: Downloading webpage
[youku:show] zee1e0fe402e211e6a080: Downloading episodes page 1
[download] Downloading playlist: 致青春
[youku:show] playlist 致青春: Collected 19 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[youku] XMTYzOTM3NzY3Ng: Downloading JSON metadata
[download] Downloading playlist: 致青春 02
[youku] playlist 致青春 02: Collected 2 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://k.youku.com/player/getFlvPath/sid/9468916432027122f88df_00/st/flv/fileid/0300010E015788549BCC15333EAACDA393A3F1-8D5B-1E8F-7024-A29608F897FE?K=9bd6e71062d0cffd2412ada1&ctype=12&hd=1&myp=0&ev=1&token=
4139&ypp=0&ep=eyaSEkCMUMoD5yPdjz8bZXrqfCNZXP4J9h%2BFgNIXALohT%2BC3nDrYte7DT%2FpBFfpsA1N1ZJryotOWaTYVYfg3rBoQ3jugT%2Frn%2FvLn5dxRzZYAbm8%2Be8qhwVSaQjP4&oip=2042948938'
[download] Destination: 致青春 02-XMTYzOTM3NzY3Ng_part2.flv
[download] 100% of 33.61MiB in 00:05
[download] Finished downloading playlist: 致青春 02
[download] Downloading video 2 of 2
[youku] XMTY0MDc2MzE0OA: Downloading JSON metadata
[download] Downloading playlist: 致青春 03
[youku] playlist 致青春 03: Collected 2 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://k.youku.com/player/getFlvPath/sid/446891643906212051b3f_00/st/flv/fileid/0300010E0157885B69D8DA333EAACDF6921E67-4AE0-343F-84A7-83900A7B3699?K=0a2db5fe7804d539282b9522&ctype=12&hd=1&myp=0&ev=1&token=
2114&ypp=0&ep=diaSEkCMUMoD7CPZij8bZynjJnRZXP4J9h%2BFgNIXALohT%2BC3nEzXzum4Oo5BFfpsA1N1ZJ33otLmH0YTYfQy3GgQ3EqrT%2Fro%2BoHk5aVQzZAAFx5EccvevVScQjH1&oip=2042948938'
[download] Destination: 致青春 03-XMTY0MDc2MzE0OA_part2.flv
[download] 100% of 33.64MiB in 00:05
[download] Finished downloading playlist: 致青春 03
[download] Finished downloading playlist: 致青春

You can see now only part 2 of every episode will be downloaded. So please fix this, the args should only affect the main playlist.

@yan12125 yan12125 added the bug label Jul 19, 2016
@yan12125 yan12125 changed the title If a playlist contains a sublist? --playlist-items shouldn't apply on inner playlists Jul 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.