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 SnotrIE(InfoExtractor):
'duration': 248,
'filesize_approx': 40700000,
'description': 'A drone flying through Fourth of July Fireworks',
'thumbnail': 're:^https?://.*\.jpg$',
'thumbnail': r're:^https?://.*\.jpg$',
},
'expected_warnings': ['description'],
}, {
@ -34,7 +34,7 @@ class SnotrIE(InfoExtractor):
'duration': 126,
'filesize_approx': 8500000,
'description': 'The top 10 George W. Bush moments, brought to you by David Letterman!',
'thumbnail': 're:^https?://.*\.jpg$',
'thumbnail': r're:^https?://.*\.jpg$',
}
}]