[ie/xinpianchang] Fix extractor (#13245)
Closes #12737 Authored by: garret1317
This commit is contained in:
parent
00b1bec552
commit
83fabf3524
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class XinpianchangIE(InfoExtractor):
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id=video_id)
|
webpage = self._download_webpage(url, video_id=video_id, headers={'Referer': url})
|
||||||
video_data = self._search_nextjs_data(webpage, video_id)['props']['pageProps']['detail']['video']
|
video_data = self._search_nextjs_data(webpage, video_id)['props']['pageProps']['detail']['video']
|
||||||
|
|
||||||
data = self._download_json(
|
data = self._download_json(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue