question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Broken] Mediaset [ITALY]

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running yt-dlp version 2021.05.20
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar issues including closed ones

Verbose log

D:\TEMP\YDL\YDLP>yt-dlp -v -F https://www.mediasetplay.mediaset.it/video/loveisintheair/episodio-1_F310769301000104
[debug] Command-line config: ['-v', '-F', 'https://www.mediasetplay.mediaset.it/video/loveisintheair/episodio-1_F310769301000104']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.05.20 (exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg N-91266-g8c20ea8ee0, ffprobe N-91266-g8c20ea8ee0
[debug] Proxy map: {}
[debug] [Mediaset] Extracting URL: https://www.mediasetplay.mediaset.it/video/loveisintheair/episodio-1_F310769301000104
[Mediaset] F310769301000104: Downloading JSON metadata
[Mediaset] F310769301000104: Downloading MPEG4 SD SMIL data
[Mediaset] F310769301000104: Downloading MPEG4 HD SMIL data
ERROR: This content is not available in your location.
You might want to use a VPN or a proxy server (with --proxy) to workaround.
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1126, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1147, in __extract_info
  File "yt_dlp\extractor\common.py", line 564, in extract
  File "yt_dlp\extractor\mediaset.py", line 157, in _real_extract
  File "yt_dlp\extractor\mediaset.py", line 142, in _real_extract
  File "yt_dlp\extractor\theplatform.py", line 47, in _extract_theplatform_smil
  File "yt_dlp\extractor\common.py", line 1001, in raise_geo_restricted
yt_dlp.utils.GeoRestrictedError: This content is not available in your location.

Description

Trying to download a video from mediaset.it results in a “Geo Restricted Error” even though I’m attempting the download from Italy, so without the use of a VPN or proxy.

This does not occur with all videos, for example this works right now (https://www.mediasetplay.mediaset.it/video/mrwronglezionidamore/episodio-1_F310575103000102), but it also seem to work fine if the video is not brand new, but not always.

In all cases, videos can be downloaded using the mpd urls instead.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Sep 1, 2021
1reaction
nixxocommented, Jul 24, 2021

ok, got it.

I think I fixed it. I’ll do some more tests to see if it works on other links as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed pay-TV deal drags Italy's Mediaset to 2016 loss - Reuters
Italian private broadcaster Mediaset would have broken even last year had it not been for the failed sale of its pay-TV unit Premium...
Read more >
Mediaset scores victory in battle against rights theft
Italy's Mediaset has scored another legal victory in its ongoing ... case against now defunct US male-focused website provider Break Media.
Read more >
COMPANY NEWS;VIACOM AND MEDIASET BREAK OFF ...
Mediaset S.p.A., an Italian broadcaster, said yesterday that negotiations to sell a stake of about 5 percent to Viacom Inc. had broken off....
Read more >
Italia 2 - Wikipedia
Mediaset Italia Due, commonly known as Italia 2 is an Italian television channel, ... TV series) (season 4 - 10 and 11 coming...
Read more >
Mediaset - Audiovisual Identity Database - Miraheze
Mediaset Italia S.p.A. is an Italian media company and the largest ... The English videotaped version appears on Shattered Image.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found