mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[wat] Make geolock a warning (Fixes #3579)
This commit is contained in:
parent
5f90042bd6
commit
92a17d28ac
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ def real_id_for_chapter(chapter):
|
|||
video_info = self.download_video_info(real_id)
|
||||
|
||||
if video_info.get('geolock'):
|
||||
raise ExtractorError('This content is not available in your area', expected=True)
|
||||
self.report_warning(
|
||||
'This content is marked as not available in your area. Trying anyway ..')
|
||||
|
||||
chapters = video_info['chapters']
|
||||
first_chapter = chapters[0]
|
||||
|
|
Loading…
Reference in a new issue