aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/tf1.py
diff options
context:
space:
mode:
authort0mm0 <[email protected]>2015-01-04 00:45:23 +0000
committert0mm0 <[email protected]>2015-01-04 00:45:23 +0000
commitb158bb86934fb8863a697b6e65a1cbc5105d1741 (patch)
treed109b49bf2e278e39c45bb430c4dc0a2036ed8e7 /youtube_dl/extractor/tf1.py
parent2bf098eda43f0c789e04f7f633149cc99873d182 (diff)
downloadyoutube-dl-b158bb86934fb8863a697b6e65a1cbc5105d1741.tar.gz
youtube-dl-b158bb86934fb8863a697b6e65a1cbc5105d1741.zip
[tf1] simplify regex
Diffstat (limited to 'youtube_dl/extractor/tf1.py')
-rw-r--r--youtube_dl/extractor/tf1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tf1.py b/youtube_dl/extractor/tf1.py
index 5c0fcef58..07cc81226 100644
--- a/youtube_dl/extractor/tf1.py
+++ b/youtube_dl/extractor/tf1.py
@@ -40,7 +40,7 @@ class TF1IE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
embed_url = self._html_search_regex(
- r'["\'](http(?:s)?://www.wat.tv/embedframe/.*?)["\']', webpage, 'embed url')
+ r'["\'](https?://www.wat.tv/embedframe/.*?)["\']', webpage, 'embed url')
embed_page = self._download_webpage(embed_url, video_id,
'Downloading embed player page')
wat_id = self._search_regex(r'UVID=(.*?)&', embed_page, 'wat id')