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

[pokemon.com] HTTP error 404 when downloading later Pokémon episodes #11737

Closed
Chariblaze opened this issue Jan 16, 2017 · 0 comments
Closed

[pokemon.com] HTTP error 404 when downloading later Pokémon episodes #11737

Chariblaze opened this issue Jan 16, 2017 · 0 comments

Comments

@Chariblaze
Copy link

@Chariblaze Chariblaze commented Jan 16, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.01.14
  • At least skimmed through README and most notably FAQ and BUGS sections
  • 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)
$ youtube-dl http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/ -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.01.14
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.3
[debug] Proxy map: {}
[Pokemon] unlocking-some-respect: Downloading webpage
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getPlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading API properties JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getMobilePlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading m3u8 information
[debug] Invoking downloader on 'http://cpl.delvenetworks.com/smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3qowwuez\build\youtube_dl\YoutubeDL.py", line 1699, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3qowwuez\build\youtube_dl\YoutubeDL.py", line 1641, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3qowwuez\build\youtube_dl\downloader\common.py", line 353, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3qowwuez\build\youtube_dl\downloader\http.py", line 61, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3qowwuez\build\youtube_dl\YoutubeDL.py", line 2001, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found
...
<end of log>


The issue starts with the URL for S19E18 and continues to S20E02:

S19E17 and previous episodes work fine:

Extracting the URL with -g shows that the URL format changed to http://cpl.delvenetworks.com/smedia/{stuff}:

Listing all formats with -F and selecting rtmp-1600 instead of http-1600 (best) works fine:

$ youtube-dl -F -v  http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '-v', 'http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.01.14
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.3
[debug] Proxy map: {}
[Pokemon] unlocking-some-respect: Downloading webpage
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getPlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading API properties JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getMobilePlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading m3u8 information
[info] Available formats for ef8f8a711e8c4d8789bb3891d60c42d1:
format code             extension  resolution note
HttpLiveStreaming-meta  mp4        multiple   Quality selection URL
MobileH264              mp4        unknown
HttpLiveStreaming-206   mp4        720x408     206k , avc1.66.30, mp4a.40.2
rtmp-128                flv        720x408     224k video@ 128k, 29.97fps, audio@ 96k
http-128                mp4        720x408     224k video@ 128k, 29.97fps, audio@ 96k
rtmp-322                flv        720x408     450k video@ 322k, 29.97fps, audio@128k
http-322                mp4        720x408     450k video@ 322k, 29.97fps, audio@128k
HttpLiveStreaming-480   mp4        720x408     480k , avc1.66.30, mp4a.40.2
rtmp-472                flv        720x408     600k video@ 472k, 29.97fps, audio@128k
http-472                mp4        720x408     600k video@ 472k, 29.97fps, audio@128k
HttpLiveStreaming-736   mp4        720x408     736k , avc1.66.30, mp4a.40.2
rtmp-832                flv        720x408     960k video@ 832k, 29.97fps, audio@128k
http-832                mp4        720x408     960k video@ 832k, 29.97fps, audio@128k
HttpLiveStreaming-1088  mp4        720x408    1088k , avc1.66.30, mp4a.40.2
rtmp-1072               flv        720x408    1200k video@1072k, 29.97fps, audio@128k
http-1072               mp4        720x408    1200k video@1072k, 29.97fps, audio@128k
HttpLiveStreaming-1296  mp4        720x408    1296k , avc1.66.30, mp4a.40.2
HttpLiveStreaming-1456  mp4        720x408    1456k , avc1.77.30, mp4a.40.2
rtmp-1328               flv        720x408    1456k video@1328k, 29.97fps, audio@128k
http-1328               mp4        720x408    1456k video@1328k, 29.97fps, audio@128k
HttpLiveStreaming-1728  mp4        720x408    1728k , avc1.77.30, mp4a.40.2
rtmp-1600               flv        720x408    1728k video@1600k, 29.97fps, audio@128k
http-1600               mp4        720x408    1728k video@1600k, 29.97fps, audio@128k (best)
$ youtube-dl http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/ -f rtmp-1600 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://www.pokemon.com/us/pokemon-episodes/19_18-unlocking-some-respect/', '-f', 'rtmp-1600', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.01.14
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.3
[debug] Proxy map: {}
[Pokemon] unlocking-some-respect: Downloading webpage
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getPlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading API properties JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading PlaylistService getMobilePlaylistByMediaId JSON
[limelight] ef8f8a711e8c4d8789bb3891d60c42d1: Downloading m3u8 information
[debug] Invoking downloader on 'rtmp://s2.csl.video.llnw.net/a8329/l1'
[download] Destination: Unlocking Some Respect!-ef8f8a711e8c4d8789bb3891d60c42d1.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://s2.csl.video.llnw.net/a8329/l1 -o 'Unlocking Some Respect!-ef8f8a711e8c4d8789bb3891d60c42d1.flv.part' --app a8329/l1 --playpath mp4:smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.3
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : s2.csl.video.llnw.net
[rtmpdump] DEBUG: Parsed app     : a8329
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : s2.csl.video.llnw.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://s2.csl.video.llnw.net:1935/a8329/l1
[rtmpdump] DEBUG: app      : a8329/l1
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Type Answer   : 03
[rtmpdump] DEBUG: HandShake: Server Uptime : 1611385359
[rtmpdump] DEBUG: HandShake: FMS Version   : 4.0.3.1
[rtmpdump] WARNING: HandShake: client signature does not match!
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: HandleServerBW: server BW = 2500000
[rtmpdump] DEBUG: HandleClientBW: client BW = 2500000 2
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             fmsVer, STRING:  FMS/4,0,3,4044>
[rtmpdump] DEBUG: Property: <Name:       capabilities, NUMBER:  255.00>
[rtmpdump] DEBUG: Property: <Name:               mode, NUMBER:  1.00>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetConnection.Connect.Success>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Connection succeeded.>
[rtmpdump] DEBUG: Property: <Name:     objectEncoding, NUMBER:  0.00>
[rtmpdump] DEBUG: Property: <Name:               data, OBJECT>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:            version, STRING:  4,0,3,4044>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <connect>
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: Invoking createStream
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onBWDone>
[rtmpdump] DEBUG: Invoking _checkbw
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <createStream>
[rtmpdump] DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4
[rtmpdump] DEBUG: Invoking play
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 57 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onBWDone>
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 40 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwdone>
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream IsRecorded 1
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream Begin 1
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 408 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Play.Reset>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Playing and resetting smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4.>
[rtmpdump] DEBUG: Property: <Name:            details, STRING:  smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4>
[rtmpdump] DEBUG: Property: <Name:           clientid, STRING:  pAAogLWA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onStatus>
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 402 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Play.Start>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Started playing smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4.>
[rtmpdump] DEBUG: Property: <Name:            details, STRING:  smedia/4953336d7f544f678a12270b176ea386/D8/g3D4QglQkADn00w3DjLAn6pAHnO3C-Gfi5zd2RxIg/1918_pokemon_xyz_unlocking-some-respect_rev1.mp4>
[rtmpdump] DEBUG: Property: <Name:           clientid, STRING:  pAAogLWA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onStatus>
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
[rtmpdump] Starting download at: 0.000 kB
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 24 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: ignoring too small audio packet: size: 0
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 44 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Data.Start>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 531 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:           duration, NUMBER:  1279.30>
[rtmpdump] DEBUG: Property: <Name:       moovPosition, NUMBER:  40.00>
[rtmpdump] DEBUG: Property: <Name:              width, NUMBER:  720.00>
[rtmpdump] DEBUG: Property: <Name:             height, NUMBER:  408.00>
[rtmpdump] DEBUG: Property: <Name:       videocodecid, STRING:  avc1>
[rtmpdump] DEBUG: Property: <Name:       audiocodecid, STRING:  mp4a>
[rtmpdump] DEBUG: Property: <Name:         avcprofile, NUMBER:  100.00>
[rtmpdump] DEBUG: Property: <Name:           avclevel, NUMBER:  30.00>
[rtmpdump] DEBUG: Property: <Name:             aacaot, NUMBER:  2.00>
[rtmpdump] DEBUG: Property: <Name:     videoframerate, NUMBER:  29.97>
[rtmpdump] DEBUG: Property: <Name:    audiosamplerate, NUMBER:  48000.00>
[rtmpdump] DEBUG: Property: <Name:      audiochannels, NUMBER:  2.00>
[rtmpdump] DEBUG: Property: <Name:               tags, OBJECT>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              ��too, STRING:  Lavf54.63.105>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: Property: <Name:          trackinfo, OBJECT>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             length, NUMBER:  15335200.00>
[rtmpdump] DEBUG: Property: <Name:          timescale, NUMBER:  11988.00>
[rtmpdump] DEBUG: Property: <Name:           language, STRING:  eng>
[rtmpdump] DEBUG: Property: <Name:  sampledescription, OBJECT>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:         sampletype, STRING:  avc1>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             length, NUMBER:  61406208.00>
[rtmpdump] DEBUG: Property: <Name:          timescale, NUMBER:  48000.00>
[rtmpdump] DEBUG: Property: <Name:           language, STRING:  eng>
[rtmpdump] DEBUG: Property: <Name:  sampledescription, OBJECT>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:         sampletype, STRING:  mp4a>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] INFO: Metadata:
[rtmpdump] INFO:   duration              1279.30
[rtmpdump] INFO:   moovPosition          40.00
[rtmpdump] INFO:   width                 720.00
[rtmpdump] INFO:   height                408.00
[rtmpdump] INFO:   videocodecid          avc1
[rtmpdump] INFO:   audiocodecid          mp4a
[rtmpdump] INFO:   avcprofile            100.00
[rtmpdump] INFO:   avclevel              30.00
[rtmpdump] INFO:   aacaot                2.00
[rtmpdump] INFO:   videoframerate        29.97
[rtmpdump] INFO:   audiosamplerate       48000.00
[rtmpdump] INFO:   audiochannels         2.00
[rtmpdump] INFO: tags:
[rtmpdump] INFO:   ��too                 Lavf54.63.105
[rtmpdump] INFO: trackinfo:
[rtmpdump] INFO:   length                15335200.00
[rtmpdump] INFO:   timescale             11988.00
[rtmpdump] INFO:   language              eng
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO:   sampletype            avc1
[rtmpdump] INFO:   length                61406208.00
[rtmpdump] INFO:   timescale             48000.00
[rtmpdump] INFO:   language              eng
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO:   sampletype            mp4a
[download]   0.1% of ~458.09MiB at 34.98KiB/s ETA Unknown ETA
ERROR: Interrupted by user
@dstftw dstftw closed this in 906420c Jan 16, 2017
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
1 participant
You can’t perform that action at this time.