mirror of
https://github.com/D4Vinci/Scrapling.git
synced 2026-11-21 02:44:16 +08:00
* fix(shell): stop dropping cookies whose values SimpleCookie rejects _CookieParser fed the cookie string to http.cookies.SimpleCookie, which stops at the first value it considers illegal (a space, a double quote, ...) and silently discards that cookie and everything after it. Cookie strings copied from DevTools contain such values regularly, so curl commands parsed by uncurl/curl2fetcher and `extract --cookies` lost cookies without any warning. Split the string on ";" instead and keep each value as sent, including surrounding quotes, which SimpleCookie used to strip. Set-Cookie attribute names are still skipped, as before. * fix(shell): keep request cookies named partitioned