mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-02 23:47:08 +02:00
[ie/AfreecaTV] downgrade api protocol to http
This commit is contained in:
parent
add96eb9f8
commit
da798adb3a
@ -185,7 +185,7 @@ class AfreecaTVIE(AfreecaTVBaseIE):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
data = self._download_json(
|
data = self._download_json(
|
||||||
'https://api.m.afreecatv.com/station/video/a/view', video_id,
|
'http://api.m.afreecatv.com/station/video/a/view', video_id,
|
||||||
headers={'Referer': url}, data=urlencode_postdata({
|
headers={'Referer': url}, data=urlencode_postdata({
|
||||||
'nTitleNo': video_id,
|
'nTitleNo': video_id,
|
||||||
'nApiLevel': 10,
|
'nApiLevel': 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user