diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
commit | 197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch) | |
tree | c2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/aenetworks.py | |
parent | 89923316210f8e17bb1a085278940e1c56fcff48 (diff) |
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/aenetworks.py')
-rw-r--r-- | youtube_dl/extractor/aenetworks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/aenetworks.py b/youtube_dl/extractor/aenetworks.py index 2dcdba9d2..da1b566c2 100644 --- a/youtube_dl/extractor/aenetworks.py +++ b/youtube_dl/extractor/aenetworks.py @@ -131,7 +131,7 @@ class AENetworksIE(AENetworksBaseIE): r'data-media-url=(["\'])(?P<url>(?:(?!\1).)+?)\1'], webpage, 'video url', group='url') theplatform_metadata = self._download_theplatform_metadata(self._search_regex( - r'https?://link.theplatform.com/s/([^?]+)', media_url, 'theplatform_path'), video_id) + r'https?://link\.theplatform\.com/s/([^?]+)', media_url, 'theplatform_path'), video_id) info = self._parse_theplatform_metadata(theplatform_metadata) if theplatform_metadata.get('AETN$isBehindWall'): requestor_id = self._DOMAIN_TO_REQUESTOR_ID[domain] |