1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-01 09:50:05 +02:00

[ie/AfreecaTV] downgrade api protocol to http

This commit is contained in:
hui1601 2024-06-13 19:19:22 +09:00
parent add96eb9f8
commit da798adb3a
No known key found for this signature in database
GPG Key ID: 4A9906BFF1F5CB4A

View File

@ -185,7 +185,7 @@ class AfreecaTVIE(AfreecaTVBaseIE):
def _real_extract(self, url):
video_id = self._match_id(url)
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({
'nTitleNo': video_id,
'nApiLevel': 10,