Skip to content

Commit

Permalink
fix: add cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
legnaleurc committed Aug 5, 2024
1 parent cfa71d5 commit 5be6959
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drive/app/jav/_sauce.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ async def _fetch_from_mgs(
session: ClientSession, jav_id: str, query: str
) -> str | None:
soup = await _get_html(
session, f"https://www.mgstage.com/product/product_detail/{query}/"
session,
f"https://www.mgstage.com/product/product_detail/{query}/",
cookies={
"adc": "1",
},
)
if not soup:
return None
Expand Down

0 comments on commit 5be6959

Please sign in to comment.