aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/atresplayer.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-03-03 12:59:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-03-03 12:59:17 +0100
commit499bfcbfd09e85f053d7e8943a8d47fed9349b0e (patch)
tree443c5044ab5d3d5cf986689eec8c42d176adcb89 /youtube_dl/extractor/atresplayer.py
parent07490f8017a83b7607686499074c41212fa0a44f (diff)
Make sure netrc works for all extractors with login support
Fixes #5112
Diffstat (limited to 'youtube_dl/extractor/atresplayer.py')
-rw-r--r--youtube_dl/extractor/atresplayer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/atresplayer.py b/youtube_dl/extractor/atresplayer.py
index 7669e0e3d..29f8795d3 100644
--- a/youtube_dl/extractor/atresplayer.py
+++ b/youtube_dl/extractor/atresplayer.py
@@ -19,6 +19,7 @@ from ..utils import (
class AtresPlayerIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?atresplayer\.com/television/[^/]+/[^/]+/[^/]+/(?P<id>.+?)_\d+\.html'
+ _NETRC_MACHINE = 'atresplayer'
_TESTS = [
{
'url': 'http://www.atresplayer.com/television/programas/el-club-de-la-comedia/temporada-4/capitulo-10-especial-solidario-nochebuena_2014122100174.html',