Skip to content

Commit

Permalink
[go90] add support for embed urls(closes #16873)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Jul 1, 2018
1 parent 8cee692 commit db5debf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions youtube_dl/extractor/go90.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@


class Go90IE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?go90\.com/videos/(?P<id>[0-9a-zA-Z]+)'
_TEST = {
_VALID_URL = r'https?://(?:www\.)?go90\.com/(?:videos|embed)/(?P<id>[0-9a-zA-Z]+)'
_TESTS = [{
'url': 'https://www.go90.com/videos/84BUqjLpf9D',
'md5': 'efa7670dbbbf21a7b07b360652b24a32',
'info_dict': {
Expand All @@ -28,7 +28,10 @@ class Go90IE(InfoExtractor):
'upload_date': '20170411',
'age_limit': 14,
}
}
}, {
'url': 'https://www.go90.com/embed/261MflWkD3N',
'only_matching': True,
}]
_GEO_BYPASS = False

def _real_extract(self, url):
Expand Down

0 comments on commit db5debf

Please sign in to comment.