mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 23:56:51 +01:00
[globo] Add entry for netrc authentication
This commit is contained in:
parent
e518749300
commit
d81ffc3aa0
@ -24,6 +24,7 @@ from ..utils import (
|
|||||||
class GloboIE(InfoExtractor):
|
class GloboIE(InfoExtractor):
|
||||||
_VALID_URL = r'(?:globo:|https?://.+?\.globo\.com/(?:[^/]+/)*(?:v/(?:[^/]+/)?|videos/))(?P<id>\d{7,})'
|
_VALID_URL = r'(?:globo:|https?://.+?\.globo\.com/(?:[^/]+/)*(?:v/(?:[^/]+/)?|videos/))(?P<id>\d{7,})'
|
||||||
_LOGGED_IN = False
|
_LOGGED_IN = False
|
||||||
|
_NETRC_MACHINE = 'globo'
|
||||||
_TESTS = [{
|
_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/',
|
'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',
|
'md5': 'b3ccc801f75cd04a914d51dadb83a78d',
|
||||||
|
Loading…
Reference in New Issue
Block a user