projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e518749
)
[globo] Add entry for netrc authentication
author
Remita Amine
<remitamine@gmail.com>
Mon, 21 May 2018 14:39:02 +0000
(15:39 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 21 May 2018 14:39:02 +0000
(15:39 +0100)
youtube_dl/extractor/globo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/globo.py
b/youtube_dl/extractor/globo.py
index 9c236046455470993c23a9799588a9c55101eb44..8e6c38742d2646dee0f2097deff0ebdd67269bd2 100644
(file)
--- a/
youtube_dl/extractor/globo.py
+++ b/
youtube_dl/extractor/globo.py
@@
-24,6
+24,7
@@
from ..utils import (
class GloboIE(InfoExtractor):
_VALID_URL = r'(?:globo:|https?://.+?\.globo\.com/(?:[^/]+/)*(?:v/(?:[^/]+/)?|videos/))(?P<id>\d{7,})'
_LOGGED_IN = False
+ _NETRC_MACHINE = 'globo'
_TESTS = [{
'url': 'http://g1.globo.com/carros/autoesporte/videos/t/exclusivos-do-g1/v/mercedes-benz-gla-passa-por-teste-de-colisao-na-europa/3607726/',
'md5': 'b3ccc801f75cd04a914d51dadb83a78d',