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

Livestream extractor using old method #8742

Closed
Ranutso opened this issue Mar 3, 2016 · 3 comments
Closed

Livestream extractor using old method #8742

Ranutso opened this issue Mar 3, 2016 · 3 comments

Comments

@Ranutso
Copy link

@Ranutso Ranutso commented Mar 3, 2016

Hello guys, yt-dl is issuing the following warning for the livestream extractor.

"/usr/local/bin/youtube-dl/youtube_dl/extractor/livestream.py:67: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead."

This was in version 2016.02.27.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 3, 2016

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.

The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

@dstftw dstftw closed this Mar 3, 2016
@Ranutso
Copy link
Author

@Ranutso Ranutso commented Mar 3, 2016

Yes, of course. Sorry. Here it goes. Please note these Livestream videos might be protected by geolocation. I've tried other videos from that website and they generate the same warning.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://livestream.com/nrl/eelsbroncos2016']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.01
[debug] Python version 2.7.11 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0, ffprobe 3.0, rtmpdump 2.4
[debug] Proxy map: {}
[livestream] Downloading JSON metadata
[livestream] 4865319: Downloading page 1
[livestream] 4865319: Downloading page 2
[download] Downloading playlist: Eels vs. Broncos
[livestream] playlist Eels vs. Broncos: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[livestream] 114151995: Downloading JSON metadata
[livestream] 114151995: Downloading SMIL file
/usr/local/bin/youtube-dl/youtube_dl/extractor/livestream.py:67: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
[livestream] 114151995: Downloading m3u8 information
[livestream] 114151995: Downloading f4m manifest
[debug] Invoking downloader on u'http://vod.livestream.com/events/00000000004a3d27/8d32442a-d41b-40dc-84f1-1ea0901e70cb_4000.m3u8?token=0_5740bc03_5c0b4ebc189a4fa72491c9173a738a213b0aacd1&start=1118&end=7945'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1142
[download] Destination: Eels vs. Broncos-114151995.mp4
[download]   3.6% of ~3.17GiB at 613.96KiB/s ETA 07:24
@dstftw dstftw reopened this Mar 3, 2016
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 3, 2016

This issue has been fixed and fix will be incorporated in the next version of youtube-dl.

@dstftw dstftw closed this Mar 3, 2016
dstftw added a commit that referenced this issue Mar 3, 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.