Closed korongmambu closed 2 years ago
s_locale
seems to be a required param, taken from the bstar-web-lang
cookie and then turned to a full lang_REGION code via a map
note though that it doesn't have to match the cookies nor is it even being checked right now, so a simple way to fix is to
def _get_subtitles(self, *, ep_id=None, aid=None):
sub_json = self._call_api(
'/web/v2/subtitle', ep_id or aid, note='Downloading subtitles list',
errnote='Unable to download subtitles list', query=filter_dict({
+ 's_locale': 'en_US',
'platform': 'web',
'episode_id': ep_id,
'aid': aid,
}))
@MinePlayersPE It worked!
@lynxnexy new issue pls
Checklist
Region
No response
Provide a description that is worded well enough to be understood
Unable to download because HTTPError 412
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output