From 98c8ca087d444dead77a9f3fc62d68908a3bb190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=82=E6=B5=81?= Date: Sat, 8 Jun 2019 23:16:14 +0800 Subject: [PATCH] [litv] fix extraction (closes #20488) The extraction URL just changed. It looks like the content of VOD00044841 changed too. --- youtube_dl/extractor/litv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/litv.py b/youtube_dl/extractor/litv.py index 337b1b15c..a43338eca 100644 --- a/youtube_dl/extractor/litv.py +++ b/youtube_dl/extractor/litv.py @@ -41,7 +41,7 @@ class LiTVIE(InfoExtractor): 'skip': 'Georestricted to Taiwan', }, { 'url': 'https://www.litv.tv/promo/miyuezhuan/?content_id=VOD00044841&', - 'md5': '88322ea132f848d6e3e18b32a832b918', + 'md5': 'cc8d39510469700d8b7a7bdf675ea33e', 'info_dict': { 'id': 'VOD00044841', 'ext': 'mp4', @@ -112,7 +112,7 @@ class LiTVIE(InfoExtractor): 'contentType': program_info['contentType'], } video_data = self._download_json( - 'https://www.litv.tv/vod/getMainUrl', video_id, + 'https://www.litv.tv/vod/ajax/getMainUrlNoAuth', video_id, data=json.dumps(payload).encode('utf-8'), headers={'Content-Type': 'application/json'})