aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-05-21 15:39:02 +0100
committerRemita Amine <remitamine@gmail.com>2018-05-21 15:39:02 +0100
commitd81ffc3aa0f7b4114cec68cac9e347689a6d5462 (patch)
tree65ccca543567e433cea6b42017e50149b5b225e3
parente5187493002f1d089d450fc3b2b4af64c996dc71 (diff)
downloadyoutube-dl-d81ffc3aa0f7b4114cec68cac9e347689a6d5462.tar.xz
[globo] Add entry for netrc authentication
-rw-r--r--youtube_dl/extractor/globo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/globo.py b/youtube_dl/extractor/globo.py
index 9c2360464..8e6c38742 100644
--- 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',