Livestream error #2179

Closed
opened 2026-02-20 22:23:46 -05:00 by deekerman · 9 comments
Owner

Originally created by @Ranutso on GitHub (Apr 6, 2014).

This is downloading a non-live (VoD) content from Livestream. It seems to me Livestream changed something between Friday (April 4th) and Saturday (April 5th) since I was able to download a file on Friday but I wasn't today, Sunday.

$ youtube-dl -v "http://new.livestream.com/nrl/TigersvsSeaEagles2014"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://new.livestream.com/nrl/TigersvsSeaEagles2014']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.01.3
[debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit
[debug] Proxy map: {}
[livestream] TigersvsSeaEagles2014: Downloading webpage
[download] Downloading playlist: Tigers vs Sea Eagles
[livestream] playlist Tigers vs Sea Eagles: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 836, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 826, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1025, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 522, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 640, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 559, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in process_video_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 996, in process_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 969, in dl
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/init.py", line 20, in get_suitable_downloader
AttributeError: 'NoneType' object has no attribute 'startswith'

Please tell me if you need more information. Thanks.

Originally created by @Ranutso on GitHub (Apr 6, 2014). This is downloading a non-live (VoD) content from Livestream. It seems to me Livestream changed something between Friday (April 4th) and Saturday (April 5th) since I was able to download a file on Friday but I wasn't today, Sunday. $ youtube-dl -v "http://new.livestream.com/nrl/TigersvsSeaEagles2014" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://new.livestream.com/nrl/TigersvsSeaEagles2014'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.04.01.3 [debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit [debug] Proxy map: {} [livestream] TigersvsSeaEagles2014: Downloading webpage [download] Downloading playlist: Tigers vs Sea Eagles [livestream] playlist Tigers vs Sea Eagles: Collected 1 video ids (downloading 1 of them) [download] Downloading video #1 of 1 Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 18, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 836, in main File "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 826, in _real_main File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1025, in download File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 522, in extract_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 640, in process_ie_result File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 559, in process_ie_result File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in process_video_result File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 996, in process_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 969, in dl File "/usr/local/bin/youtube-dl/youtube_dl/downloader/__init__.py", line 20, in get_suitable_downloader AttributeError: 'NoneType' object has no attribute 'startswith' Please tell me if you need more information. Thanks.
Author
Owner

@jedahan commented on GitHub (Jul 22, 2014):

same issue here

@jedahan commented on GitHub (Jul 22, 2014): same issue here
Author
Owner

@phihag commented on GitHub (Jul 23, 2014):

Fixed in youtube-dl 2014.07.23.2 or newer. Type sudo youtube-dl -U to update.

@phihag commented on GitHub (Jul 23, 2014): Fixed in youtube-dl 2014.07.23.2 or newer. Type `sudo youtube-dl -U` to update.
Author
Owner

@phihag commented on GitHub (Jul 23, 2014):

@jedahan You wrote "same issue here" without providing an output. Can you provide one? Also, you wrote the same thing in #3318, but the errors happen at different stages, so it's impossible to get both. Which one are you really getting? Please always post the full output you get with the -v flag.

@phihag commented on GitHub (Jul 23, 2014): @jedahan You wrote "same issue here" without providing an output. Can you provide one? Also, you wrote the same thing in #3318, but the errors happen at different stages, so it's impossible to get both. Which one are you really getting? Please always post the full output you get with the `-v` flag.
Author
Owner

@jedahan commented on GitHub (Jul 23, 2014):

Depending on the video, i'd get different errors. Now I no longer get this error but still get the other one. Posting logs there.

@jedahan commented on GitHub (Jul 23, 2014): Depending on the video, i'd get different errors. Now I no longer get this error but still get the other one. Posting logs there.
Author
Owner

@Ranutso commented on GitHub (Jul 23, 2014):

Let me just give you all a heads up. Some videos on Livestream may load on the Flash player but not on the HTML5 player. If you're using Safari, try disabling the plugins and refresh the page. It will return you a message that the video is being processed and you should come back later. You will also get this message if you access the video page on the iPhone or iPad.

I believe youtube-dl uses the HTML5 video URL to download it, so after some experience with this, I've seen several videos that play fine on Flash but not on HTML5 and, therefore, fail to download.

@Ranutso commented on GitHub (Jul 23, 2014): Let me just give you all a heads up. Some videos on Livestream may load on the Flash player but not on the HTML5 player. If you're using Safari, try disabling the plugins and refresh the page. It will return you a message that the video is being processed and you should come back later. You will also get this message if you access the video page on the iPhone or iPad. I believe youtube-dl uses the HTML5 video URL to download it, so after some experience with this, I've seen several videos that play fine on Flash but not on HTML5 and, therefore, fail to download.
Author
Owner

@phihag commented on GitHub (Jul 23, 2014):

@Ranutso Can you name such a video that fails in youtube-dl? Without knowing at least one, it's very hard for us to add support for the Flash-only videos in youtube-dl.

@phihag commented on GitHub (Jul 23, 2014): @Ranutso Can you name such a video that fails in youtube-dl? Without knowing at least one, it's very hard for us to add support for the Flash-only videos in youtube-dl.
Author
Owner

@Ranutso commented on GitHub (Jul 23, 2014):

Well, that's the catch, Phil. These videos are NOT Flash only. They are simply available on the Flash player before they are available on the HTML5 player. So that creates the illusion that the video plays fine on the browser but youtube-dl fails to download. If we wait a little longer the video will eventually be processed for HTML5 and then be downloaded successfully. Unfortunately I don't have any examples to give you right now, but that happened with my video on the original post. I checked on the browser before I came here to open the ticket. Now the video is ready for HTML5, so ytdl downloads it successfully.

@Ranutso commented on GitHub (Jul 23, 2014): Well, that's the catch, Phil. These videos are NOT Flash only. They are simply available on the Flash player before they are available on the HTML5 player. So that creates the illusion that the video plays fine on the browser but youtube-dl fails to download. If we wait a little longer the video will eventually be processed for HTML5 and then be downloaded successfully. Unfortunately I don't have any examples to give you right now, but that happened with my video on the original post. I checked on the browser before I came here to open the ticket. Now the video is ready for HTML5, so ytdl downloads it successfully.
Author
Owner

@balr0g commented on GitHub (Jul 24, 2014):

Right now http://new.livestream.com/internetsociety2/hopex2/videos/57134850 seems to be failing in this way.

@balr0g commented on GitHub (Jul 24, 2014): Right now http://new.livestream.com/internetsociety2/hopex2/videos/57134850 seems to be failing in this way.
Author
Owner

@Ranutso commented on GitHub (Jul 24, 2014):

I confirm balrog's comment. I can play it on Flash player, but youtube-dl fails to download it.

And here is what the page looks like on Safari with the Flash plugin disabled.

screen shot 2014-07-24 at 8 12 43 pm


$ youtube-dl -w "http://new.livestream.com/internetsociety2/hopex2/videos/57134850"
[livestream] 57134850: Downloading webpage
[livestream] 57134850: Downloading video info
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 859, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 849, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1052, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 527, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 564, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 830, in process_video_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1022, in process_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 993, in dl
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/init.py", line 20, in get_suitable_downloader
AttributeError: 'NoneType' object has no attribute 'starts with'

@Ranutso commented on GitHub (Jul 24, 2014): I confirm balrog's comment. I can play it on Flash player, but youtube-dl fails to download it. And here is what the page looks like on Safari with the Flash plugin disabled. ![screen shot 2014-07-24 at 8 12 43 pm](https://cloud.githubusercontent.com/assets/1884991/3696063/2e0f9448-1388-11e4-92d5-97761982f637.png) --- $ youtube-dl -w "http://new.livestream.com/internetsociety2/hopex2/videos/57134850" [livestream] 57134850: Downloading webpage [livestream] 57134850: Downloading video info Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 18, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 859, in main File "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 849, in _real_main File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1052, in download File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 527, in extract_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 564, in process_ie_result File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 830, in process_video_result File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1022, in process_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 993, in dl File "/usr/local/bin/youtube-dl/youtube_dl/downloader/__init__.py", line 20, in get_suitable_downloader AttributeError: 'NoneType' object has no attribute 'starts with'
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#2179
No description provided.