1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-02 03:32:51 +08:00

sbs geo bypass

This commit is contained in:
Eric Baldridge 2020-02-18 05:08:56 -08:00 committed by GitHub
parent 117ba9e9df
commit a7597fcd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ from ..utils import (
class SBSIE(InfoExtractor): class SBSIE(InfoExtractor):
IE_DESC = 'sbs.com.au' IE_DESC = 'sbs.com.au'
_VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/(?:ondemand|news)/video/(?:single/)?(?P<id>[0-9]+)' _VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/(?:ondemand|news)/video/(?:single/)?(?P<id>[0-9]+)'
_GEO_COUNTRIES = ['AU']
_TESTS = [{ _TESTS = [{
# Original URL is handled by the generic IE which finds the iframe: # Original URL is handled by the generic IE which finds the iframe: