Fix "invalid escape sequences" error on Python 3.6

This commit is contained in:
Yen Chi Hsuan 2017-01-02 20:08:07 +08:00
parent 24d8a75982
commit ec85ded83c
No known key found for this signature in database
GPG key ID: 7F902A182457CA23
283 changed files with 538 additions and 538 deletions

View file

@ -22,7 +22,7 @@ class LnkGoIE(InfoExtractor):
'description': 'md5:d82a5e36b775b7048617f263a0e3475e',
'age_limit': 7,
'duration': 3019,
'thumbnail': 're:^https?://.*\.jpg$'
'thumbnail': r're:^https?://.*\.jpg$'
},
'params': {
'skip_download': True, # HLS download
@ -37,7 +37,7 @@ class LnkGoIE(InfoExtractor):
'description': 'md5:7352d113a242a808676ff17e69db6a69',
'age_limit': 18,
'duration': 346,
'thumbnail': 're:^https?://.*\.jpg$'
'thumbnail': r're:^https?://.*\.jpg$'
},
'params': {
'skip_download': True, # HLS download