Skip to content

Commit

Permalink
try_look only without cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Responsitories committed Jun 9, 2023
1 parent d88b2e9 commit 45d0a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBDown.Core/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private static async Task<string> GetPlayJsonAsync(bool onlyAvc, string aidOri,
(tvApi ? "" : "&fourk=1") + (Config.AREA != "" ? Config.TOKEN != "" ? $"&access_key={Config.TOKEN}&area={Config.AREA}" : $"&area={Config.AREA}" : "") +
(tvApi ? "&device=android&platform=android&mobi_app=android_tv_yst&npcybs=0&force_host=2&build=102801" +
(Config.TOKEN != "" ? $"&access_key={Config.TOKEN}" : "") : "") + $"&otype=json&qn={qn}" +
(bangumi ? $"&module=bangumi&ep_id={epId}&fourk=1&session=" : $"&try_look=1&wts={GetTimeStamp(true)}");
(bangumi ? $"&module=bangumi&ep_id={epId}&fourk=1&session=" : Config.COOKIE != "" ? $"&wts={GetTimeStamp(true)}" : $"&try_look=1&wts={GetTimeStamp(true)}");
api = $"https://{prefix}?{(bangumi ? api : WbiSign(api))}";
if (tvApi && bangumi)
{
Expand Down

0 comments on commit 45d0a73

Please sign in to comment.