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

Mediaset support seems broken #23508

Closed
antonioag95 opened this issue Dec 24, 2019 · 2 comments
Closed

Mediaset support seems broken #23508

antonioag95 opened this issue Dec 24, 2019 · 2 comments

Comments

@antonioag95
Copy link

antonioag95 commented Dec 24, 2019

I found out that with latest youtube-dl version (2019.11.28) Mediaset is not working anymore, I downgraded to version "2019.9.28" and after a couple of these lines it eventually works.

WARNING: Failed to download ISM manifest: HTTP Error 403: Forbidden

While with latest version it does not work:

youtube-dl "https://www.mediasetplay.mediaset.it/video/indaginiadaltaquota/laereo-perduto_F309625801000802"
[Mediaset] F309625801000802: Downloading JSON metadata
[Mediaset] F309625801000802: Downloading MPEG4 SD SMIL data
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 10, in <module>
    sys.exit(main())
  File "/Library/Python/2.7/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/Library/Python/2.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/Library/Python/2.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/Library/Python/2.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/Library/Python/2.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/Library/Python/2.7/site-packages/youtube_dl/extractor/mediaset.py", line 145, in _real_extract
    }), guid, 'Downloading %s %s SMIL data' % (f.split('+')[0], asset_type))
  File "/Library/Python/2.7/site-packages/youtube_dl/extractor/theplatform.py", line 59, in _extract_theplatform_smil
    transform_rtmp_url=lambda streamer, src: (streamer, 'mp4:' + src))
  File "/Library/Python/2.7/site-packages/youtube_dl/extractor/mediaset.py", line 126, in _parse_smil_formats
    return super()._parse_smil_formats(smil, smil_url, video_id, namespace, f4m_params, transform_rtmp_url)
TypeError: super() takes at least 1 argument (0 given)
@felisucoibi
Copy link

maybe you can give a url example

@antonioag95
Copy link
Author

Edited the first post for link example and a discovery that I've just made, downgrading to a previous version makes it work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants