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/thisav.py | |
parent | 89923316210f8e17bb1a085278940e1c56fcff48 (diff) |
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/thisav.py')
-rw-r--r-- | youtube_dl/extractor/thisav.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/thisav.py b/youtube_dl/extractor/thisav.py index 33683b139..dc3dd03c8 100644 --- a/youtube_dl/extractor/thisav.py +++ b/youtube_dl/extractor/thisav.py @@ -57,10 +57,10 @@ class ThisAVIE(InfoExtractor): info_dict = self._extract_jwplayer_data( webpage, video_id, require_title=False) uploader = self._html_search_regex( - r': <a href="http://www.thisav.com/user/[0-9]+/(?:[^"]+)">([^<]+)</a>', + r': <a href="http://www\.thisav\.com/user/[0-9]+/(?:[^"]+)">([^<]+)</a>', webpage, 'uploader name', fatal=False) uploader_id = self._html_search_regex( - r': <a href="http://www.thisav.com/user/[0-9]+/([^"]+)">(?:[^<]+)</a>', + r': <a href="http://www\.thisav\.com/user/[0-9]+/([^"]+)">(?:[^<]+)</a>', webpage, 'uploader id', fatal=False) info_dict.update({ |