[CR]: Add locale to --new

This commit is contained in:
AnimeDL 2025-08-02 11:16:17 -07:00
parent 00b89a5094
commit c87f6cc400

View file

@ -1044,6 +1044,9 @@ export default class Crunchy implements ServiceClass {
sort_by: 'newly_added',
n: '50',
start: (page ? (page-1)*25 : 0).toString(),
preferred_audio_language: 'ja-JP',
force_locale: '',
locale: this.locale
}).toString();
const newlyAddedReq = await this.req.getData(`${api.browse}?${newlyAddedParams}`, newlyAddedReqOpts);
if(!newlyAddedReq.ok || !newlyAddedReq.res){