HFrost0 / bilix

⚡️Lightning-fast async download tool for bilibili and more
Apache License 2.0
1.6k stars 166 forks source link

Url-encoding sess_data if it's not encoded #114

Closed boholder closed 1 year ago

boholder commented 1 year ago

修复 https://github.com/HFrost0/bilix/issues/112 中发现的问题。 ref: https://stackoverflow.com/questions/55426439/is-there-an-idempotent-version-of-urllib-parse-quote https://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid

boholder commented 1 year ago

不...我不知道sessdata的合法格式,你了解吗 而且这个格式bili可能会不预先通知就改变,依赖这个,不好。

HFrost0 commented 1 year ago

移动到utils是没问题的,这样不用在两个地方重复这段代码

后续我来调整一下就行