Closed NLZ closed 3 years ago
Huh, haven't come across this error before, fixed in 2.7.2.
It now encodes the colon in the URLs too. 🤔
It now encodes the colon in the URLs too. 🤔
Oh, I see the issue.
Why not just quote the data?
json_links["manga_updates"] = f'https://www.mangaupdates.com/series.html?id={quote(self.manga_data["links"]["mu"])}'
I'm getting this error when I try to grab this title: https://mangadex.org/title/50185/the-most-notorious-talker-runs-the-world-s-greatest-clan
\u300c is 「, so a bit digging revealed that the NovelUpdates link has that in it: the-strongest-clans-master-is-the-weakest-and-most-evil-support-class-even-with-a-fail-job「talker」-with-my-brains-and-dependable-allies-abilities-im-the-worlds-strongest-see
I think the solution would be to try to do an url encoding on the links, so like 「 becames %E3%80%8C https://github.com/Rudoal/mdownloader/blob/9114ed091215d9da60ee2f2526c78d6c9a214065/components/jsonmaker.py#L62
So here I would first import urllib.parse, then wrap the links with urllib.parse.quote() (probably all of them, just to be sure).