TheNetsky / extensions-generic

Netsky's fork of the official Paperback sources.
32 stars 25 forks source link

Fix malformed url parsing #55

Closed Ivanmatthew closed 1 year ago

Ivanmatthew commented 1 year ago

Check and fix urls that are parsed with three forward slahes instead of two (e.g. https:///example.com turns into https://example.com) Example of this use case can be seen at https://manhuaus.com/manga/its-over-empress-husband-is-actually-invincible/chapter-28/ (the first image has it's data-src attribute be https:///cdn.manhuaus.com/madara/2023-04-14/8884899366438cbffa57714.48601788.jpg in the html file)