projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "invalid escape sequences" error on Python 3.6
[youtube-dl]
/
youtube_dl
/
extractor
/
rudo.py
diff --git
a/youtube_dl/extractor/rudo.py
b/youtube_dl/extractor/rudo.py
index 9a330c1961b75f662caa457fabe231e6aa4bcb8a..3bfe934d82c9db7fe7ff8b1b8820d4c96ca0cb32 100644
(file)
--- a/
youtube_dl/extractor/rudo.py
+++ b/
youtube_dl/extractor/rudo.py
@@
-28,7
+28,7
@@
class RudoIE(JWPlatformBaseIE):
@classmethod
def _extract_url(self, webpage):
mobj = re.search(
@classmethod
def _extract_url(self, webpage):
mobj = re.search(
- '<iframe[^>]+src=(?P<q1>[\'"])(?P<url>(?:https?:)?//rudo\.video/vod/[0-9a-zA-Z]+)(?P=q1)',
+
r
'<iframe[^>]+src=(?P<q1>[\'"])(?P<url>(?:https?:)?//rudo\.video/vod/[0-9a-zA-Z]+)(?P=q1)',
webpage)
if mobj:
return mobj.group('url')
webpage)
if mobj:
return mobj.group('url')