aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/globo.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-04 17:10:45 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-04 17:10:45 +0600
commit264cd00fff4f6d7063d43e1d476de46901bd9c5b (patch)
treede954b1b178a89a7da830fca94e7d832c4206dad /youtube_dl/extractor/globo.py
parenta4a6b7b80f18680ee0a8bba50a24c58edd3f2a73 (diff)
[globo] Update tests
Diffstat (limited to 'youtube_dl/extractor/globo.py')
-rw-r--r--youtube_dl/extractor/globo.py30
1 files changed, 21 insertions, 9 deletions
diff --git a/youtube_dl/extractor/globo.py b/youtube_dl/extractor/globo.py
index 64622aa5c..0337256ed 100644
--- a/youtube_dl/extractor/globo.py
+++ b/youtube_dl/extractor/globo.py
@@ -35,18 +35,30 @@ class GloboIE(InfoExtractor):
'duration': 103.204,
'uploader': 'Globo.com',
'uploader_id': 265,
- }
+ },
}, {
- 'url': 'http://globotv.globo.com/canal-brasil/sangue-latino/t/todos-os-videos/v/ator-e-diretor-argentino-ricado-darin-fala-sobre-utopias-e-suas-perdas/3928201/',
- 'md5': 'c1defca721ce25b2354e927d3e4b3dec',
+ 'url': 'http://globoplay.globo.com/v/4581987/',
+ 'md5': 'f36a1ecd6a50da1577eee6dd17f67eff',
'info_dict': {
- 'id': '3928201',
+ 'id': '4581987',
'ext': 'mp4',
- 'title': 'Ator e diretor argentino, Ricado Darín fala sobre utopias e suas perdas',
- 'duration': 1472.906,
- 'uploader': 'Canal Brasil',
- 'uploader_id': 705,
- }
+ 'title': 'Acidentes de trânsito estão entre as maiores causas de queda de energia em SP',
+ 'duration': 137.973,
+ 'uploader': 'Rede Globo',
+ 'uploader_id': 196,
+ },
+ }, {
+ 'url': 'http://canalbrasil.globo.com/programas/sangue-latino/videos/3928201.html',
+ 'only_matching': True,
+ }, {
+ 'url': 'http://globosatplay.globo.com/globonews/v/4472924/',
+ 'only_matching': True,
+ }, {
+ 'url': 'http://globotv.globo.com/t/programa/v/clipe-sexo-e-as-negas-adeus/3836166/',
+ 'only_matching': True,
+ }, {
+ 'url': 'http://globotv.globo.com/canal-brasil/sangue-latino/t/todos-os-videos/v/ator-e-diretor-argentino-ricado-darin-fala-sobre-utopias-e-suas-perdas/3928201/',
+ 'only_matching': True,
}]
class MD5: