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

downloading from BBC iplayer fails with stacktrace #7299

Closed
TPolzer opened this issue Oct 26, 2015 · 4 comments
Closed

downloading from BBC iplayer fails with stacktrace #7299

TPolzer opened this issue Oct 26, 2015 · 4 comments

Comments

@TPolzer
Copy link

@TPolzer TPolzer commented Oct 26, 2015

[bbc.co.uk] b06kvt51: Downloading media selection XML
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2015.6.4.1', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 405, in main
    _real_main(argv)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 395, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1502, in download
    res = self.extract_info(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 650, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 362, in _real_extract
    formats, subtitles = self._download_media_selector(programme_id)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 282, in _download_media_selector
    formats.extend(self._extract_video(media, programme_id))
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 204, in _extract_video
    file_size = int(media.get('media_file_size'))
TypeError: int() argument must be a string or a number, not 'NoneType'
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 26, 2015

You are using an outdated version. If it fails after you update, post the full output when running youtube-dl --verbose URL (as explained in the bug reporting instructions).

@jaimeMF jaimeMF closed this Oct 26, 2015
@jacobbarrow
Copy link

@jacobbarrow jacobbarrow commented May 2, 2016

Still getting this issue with newest version

Stacktrace:

youtube-dl http://www.bbc.co.uk/iplayer/episode/b079s75g/undercover-episode-5 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.bbc.co.uk/iplayer/episode/b079s75g/undercover-episode-5', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 2.7.10 - Linux-4.2.0-16-generic-i686-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 2.7.6-0ubuntu0.15.10.1, avprobe 2.7.6-0ubuntu0.15.10.1, ffmpeg 2.7.6-0ubuntu0.15.10.1, ffprobe 2.7.6-0ubuntu0.15.10.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] b079s75g: Downloading video page
[bbc.co.uk] b079s73b: Downloading media selection XML
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 405, in main
    _real_main(argv)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 395, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1502, in download
    res = self.extract_info(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 650, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 362, in _real_extract
    formats, subtitles = self._download_media_selector(programme_id)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 282, in _download_media_selector
    formats.extend(self._extract_video(media, programme_id))
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/bbccouk.py", line 204, in _extract_video
    file_size = int(media.get('media_file_size'))
TypeError: int() argument must be a string or a number, not 'NoneType'
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 2, 2016

[debug] youtube-dl version 2015.06.04.1

The latest version is 2016.05.01.

@jacobbarrow
Copy link

@jacobbarrow jacobbarrow commented May 2, 2016

Sorry - that's the version I got from apt 10 minutes ago, so I thought it was the newest.

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.