mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-26 18:45:52 +00:00
condense
This commit is contained in:
parent
fc5ae7f534
commit
e0045b1208
@ -16,11 +16,8 @@ from ..utils import (
|
|||||||
|
|
||||||
class LiTVIE(InfoExtractor):
|
class LiTVIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?litv\.tv/(?:[^/?#]+/watch/|vod/[^/?#]+/content\.do\?content_id=)(?P<id>[\w-]+)'
|
_VALID_URL = r'https?://(?:www\.)?litv\.tv/(?:[^/?#]+/watch/|vod/[^/?#]+/content\.do\?content_id=)(?P<id>[\w-]+)'
|
||||||
|
|
||||||
_URL_TEMPLATE = 'https://www.litv.tv/%s/watch/%s'
|
_URL_TEMPLATE = 'https://www.litv.tv/%s/watch/%s'
|
||||||
|
|
||||||
_GEO_COUNTRIES = ['TW']
|
_GEO_COUNTRIES = ['TW']
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.litv.tv/drama/watch/VOD00041610',
|
'url': 'https://www.litv.tv/drama/watch/VOD00041610',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user