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

Strange never seen before error on few videos #1458

Open
Elite opened this issue Sep 19, 2013 · 3 comments
Open

Strange never seen before error on few videos #1458

Elite opened this issue Sep 19, 2013 · 3 comments

Comments

@Elite
Copy link

@Elite Elite commented Sep 19, 2013

When downloading some videos from youtube using wget for url extracted by ytdl I get this - Connection closed at byte 0. Retrying. Error like this ::

2013-09-18 22:14:53 (0.00 B/s) - Connection closed at byte 0. Retrying.

--2013-09-18 22:14:57--  (try: 5)  http://r10---sn-ab5e6nsr.c.youtube.com/videoplayback?ipbits=8&mv=m&expire=1379582249&gir=yes&fexp=935013%2C901454%2C924606%2C929117%2C929121%2C929906%2C929907%2C929922%2C929923%2C929127%2C929129%2C929131%2C929930%2C936403%2C925724%2C925726%2C936310%2C925720%2C925722%2C925718%2C925714%2C929917%2C906945%2C929933%2C929935%2C920302%2C906842%2C913428%2C920605%2C919811%2C935020%2C935021%2C932309%2C913563%2C919373%2C930803%2C908536%2C938701%2C931924%2C934005%2C940501%2C936308%2C909549%2C901608%2C900816%2C912711%2C934507%2C907231%2C936312%2C906001&sver=3&source=youtube&key=yt1&factor=1.25&lmt=1374611001130708&algorithm=throttle-factor&burst=40&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cdur%2Cfactor%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&signature=9BF06E32417DD693A78A44C680C0C666F067D8AF.6B12E9AACEDBD5F99DE309EA67097ACC94BE8452&ip=209.222.15.75&ms=au&upn=byCmHfKb1ko&mt=1379556754&dur=313.167&id=e30fa3dc939cc68d&cp=U0hWTlVTUF9JU0NONl9NTVRDOkhEMmFtQkQ5WjBs&clen=9985107&itag=141&ratebypass=yes
Connecting to r10---sn-ab5e6nsr.c.youtube.com (r10---sn-ab5e6nsr.c.youtube.com)|173.194.61.79|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9985107 (9.5M) [application/octet-stream]
Saving to: `out.mp4'

 0% [                                                                                     ] 0           --.-K/s   in 0s

2013-09-18 22:14:57 (0.00 B/s) - Connection closed at byte 0. Retrying.

--2013-09-18 22:15:02--  (try: 6)  http://r10---sn-ab5e6nsr.c.youtube.com/videoplayback?ipbits=8&mv=m&expire=1379582249&gir=yes&fexp=935013%2C901454%2C924606%2C929117%2C929121%2C929906%2C929907%2C929922%2C929923%2C929127%2C929129%2C929131%2C929930%2C936403%2C925724%2C925726%2C936310%2C925720%2C925722%2C925718%2C925714%2C929917%2C906945%2C929933%2C929935%2C920302%2C906842%2C913428%2C920605%2C919811%2C935020%2C935021%2C932309%2C913563%2C919373%2C930803%2C908536%2C938701%2C931924%2C934005%2C940501%2C936308%2C909549%2C901608%2C900816%2C912711%2C934507%2C907231%2C936312%2C906001&sver=3&source=youtube&key=yt1&factor=1.25&lmt=1374611001130708&algorithm=throttle-factor&burst=40&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cdur%2Cfactor%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&signature=9BF06E32417DD693A78A44C680C0C666F067D8AF.6B12E9AACEDBD5F99DE309EA67097ACC94BE8452&ip=209.222.15.75&ms=au&upn=byCmHfKb1ko&mt=1379556754&dur=313.167&id=e30fa3dc939cc68d&cp=U0hWTlVTUF9JU0NONl9NTVRDOkhEMmFtQkQ5WjBs&clen=9985107&itag=141&ratebypass=yes
Connecting to r10---sn-ab5e6nsr.c.youtube.com (r10---sn-ab5e6nsr.c.youtube.com)|173.194.61.79|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9985107 (9.5M) [application/octet-stream]
Saving to: `out.mp4'

 0% [                                                                                     ] 0           --.-K/s   in 0s

2013-09-18 22:15:03 (0.00 B/s) - Connection closed at byte 0. Retrying.

Verbose ::

 youtube-dl -f 141/140/139/22/45/35/44/34/18/43/5/36/17 --verbose -x --audio-format mp3 --audio-quality 192K 4w-j3JOcxo0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '141/140/139/22/45/35/44/34/18/43/5/36/17', '--verbose', '-x', '--audio-format', 'mp3', '--audio-quality', '192K', '4w-j3JOcxo0']
[debug] youtube-dl version 2013.09.17
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 4w-j3JOcxo0: Downloading video webpage
[youtube] 4w-j3JOcxo0: Downloading video info webpage
[youtube] 4w-j3JOcxo0: Extracting video information


ERROR: Did not get any data blocks
  File "/usr/local/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 670, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 654, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 571, in download
    videos = self.extract_info(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 336, in extract_info
    return self.process_ie_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 419, in process_ie_result
    for r in ie_result['entries']
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 366, in process_ie_result
    self.process_info(ie_result)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 546, in process_info
    success = self.fd._do_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/FileDownloader.py", line 548, in _do_download
    self.report_error(u'Did not get any data blocks')
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/FileDownloader.py", line 148, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 214, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 181, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Strangely the same works on my local system, any ideas why this ?

@deepesh-agarwal
Copy link

@deepesh-agarwal deepesh-agarwal commented Sep 20, 2013

Any ideas ?

@Kyoshin
Copy link

@Kyoshin Kyoshin commented Oct 22, 2013

Similar problem

youtube-dl --format=best "http://www.dailymotion.com/video/x1645a8_wszyscy-jestesmy-binkowskimi_sport"

[dailymotion] x1645a8: Downloading webpage
[dailymotion] x1645a8: Extracting information
[dailymotion] x1645a8: Downloading embed page
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 666, in main
_real_main(argv)
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 650, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 573, in download
videos = self.extract_info(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 324, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/dailymotion.py", line 59, in _real_extract
info = json.loads(info)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting object: line 1 column 2136 (char 2135)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 22, 2013

@AdrianKubiczek that's a different problem, please open a new issue with the output of youtube-dl 'http://www.dailymotion.com/video/x1645a8_wszyscy-jestesmy-binkowskimi_sport' --verbose

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
4 participants
You can’t perform that action at this time.