diff options
author | Ray Douglass <3107146+raydouglass@users.noreply.github.com> | 2018-04-11 09:11:24 -0400 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2018-04-11 20:11:24 +0700 |
commit | d783aee56a720ce15cf2775afc330b2ed5d53baf (patch) | |
tree | 5de8ad60b19a9965c7fc64ee2c91b59c398716d9 /youtube_dl | |
parent | 315ab3d500964f1d8442135889e1886ca6d90100 (diff) |
[fxnetworks] Add support for https theplatform URLs (closes #16125)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/fxnetworks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/fxnetworks.py b/youtube_dl/extractor/fxnetworks.py index 37549fb01..00e67426b 100644 --- a/youtube_dl/extractor/fxnetworks.py +++ b/youtube_dl/extractor/fxnetworks.py @@ -41,7 +41,7 @@ class FXNetworksIE(AdobePassIE): if 'The content you are trying to access is not available in your region.' in webpage: self.raise_geo_restricted() video_data = extract_attributes(self._search_regex( - r'(<a.+?rel="http://link\.theplatform\.com/s/.+?</a>)', webpage, 'video data')) + r'(<a.+?rel="https?://link\.theplatform\.com/s/.+?</a>)', webpage, 'video data')) player_type = self._search_regex(r'playerType\s*=\s*[\'"]([^\'"]+)', webpage, 'player type', default=None) release_url = video_data['rel'] title = video_data['data-title'] |