projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[viewster] Strip titles
[youtube-dl]
/
youtube_dl
/
extractor
/
rds.py
diff --git
a/youtube_dl/extractor/rds.py
b/youtube_dl/extractor/rds.py
index fdd3f36a605ebf94cf738f958a40f0a106ece877..796adfdf9dab7f07481328026bb21591a7aa5612 100644
(file)
--- a/
youtube_dl/extractor/rds.py
+++ b/
youtube_dl/extractor/rds.py
@@
-12,9
+12,9
@@
from ..utils import (
class RDSIE(InfoExtractor):
IE_DESC = 'RDS.ca'
class RDSIE(InfoExtractor):
IE_DESC = 'RDS.ca'
- _VALID_URL = r'https?://(?:www\.)?rds\.ca/vid
eos/(?:[^/]+/)+
(?P<display_id>[^/]+)-(?P<id>\d+\.\d+)'
+ _VALID_URL = r'https?://(?:www\.)?rds\.ca/vid
(?:[eé]|%C3%A9)os/(?:[^/]+/)*
(?P<display_id>[^/]+)-(?P<id>\d+\.\d+)'
- _TEST
=
{
+ _TEST
S = [
{
'url': 'http://www.rds.ca/videos/football/nfl/fowler-jr-prend-la-direction-de-jacksonville-3.1132799',
'info_dict': {
'id': '3.1132799',
'url': 'http://www.rds.ca/videos/football/nfl/fowler-jr-prend-la-direction-de-jacksonville-3.1132799',
'info_dict': {
'id': '3.1132799',
@@
-27,7
+27,10
@@
class RDSIE(InfoExtractor):
'duration': 154.354,
'age_limit': 0,
}
'duration': 154.354,
'age_limit': 0,
}
- }
+ }, {
+ 'url': 'http://www.rds.ca/vid%C3%A9os/un-voyage-positif-3.877934',
+ 'only_matching': True,
+ }]
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)