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

TypeError when downloading BBC iPlayer video #6416

Closed
l0b0 opened this issue Jul 31, 2015 · 1 comment
Closed

TypeError when downloading BBC iPlayer video #6416

l0b0 opened this issue Jul 31, 2015 · 1 comment

Comments

@l0b0
Copy link

@l0b0 l0b0 commented Jul 31, 2015

$ youtube-dl 'http://www.bbc.co.uk/iplayer/episode/b062mfw7/artsnight-series-2-4-samira-ahmed'
[bbc.co.uk] b062mfw7: Downloading video page
[bbc.co.uk] b062mfv7: Downloading media selection XML
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2015.7.21', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 410, in main
    _real_main(argv)
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 400, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1503, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 656, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 275, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/bbccouk.py", line 361, in _real_extract
    formats, subtitles = self._download_media_selector(programme_id)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/bbccouk.py", line 281, in _download_media_selector
    formats.extend(self._extract_video(media, programme_id))
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/bbccouk.py", line 218, in _extract_video
    file_size = int(media.get('media_file_size'))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
$ youtube-dl --version
2015.07.21
@l0b0
Copy link
Author

@l0b0 l0b0 commented Jul 31, 2015

Found issue #6386; closing.

@l0b0 l0b0 closed this Jul 31, 2015
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.