mirror of
https://code.hackerspace.pl/q3k/youtube-dl
synced 2025-03-16 11:43:02 +00:00
66 lines
2.2 KiB
Python
66 lines
2.2 KiB
Python
# coding: utf-8
|
|
from __future__ import unicode_literals
|
|
|
|
from .common import InfoExtractor
|
|
from ..utils import (
|
|
js_to_json,
|
|
smuggle_url,
|
|
)
|
|
|
|
|
|
class LA7IE(InfoExtractor):
|
|
IE_NAME = 'la7.it'
|
|
_VALID_URL = r'''(?x)(https?://)?(?:
|
|
(?:www\.)?la7\.it/([^/]+)/(?:rivedila7|video)/|
|
|
tg\.la7\.it/repliche-tgla7\?id=
|
|
)(?P<id>.+)'''
|
|
|
|
_TESTS = [{
|
|
# 'src' is a plain URL
|
|
'url': 'http://www.la7.it/crozza/video/inccool8-02-10-2015-163722',
|
|
'md5': '8b613ffc0c4bf9b9e377169fc19c214c',
|
|
'info_dict' |