derpibooru / philomena

Next-generation imageboard
https://derpibooru.org/
GNU Affero General Public License v3.0
218 stars 58 forks source link

fix deviantart regexes #287

Open Yay295 opened 1 month ago

Yay295 commented 1 month ago

Currently it only matches PNG URL's that already have the ".png" extension on the image file. With this change it will also match JPG URL's, which is the more likely situation.

Yay295 commented 1 month ago

Danbooru also removes strp from the URL, but I can't find any documentation for what that does.

liamwhite commented 1 month ago

Thanks for the effort, but currently the deviantart scraper doesn't work at all because the response format has changed.

Yay295 commented 1 month ago

I don't know Elixir, just RegEx, so I can't help with that.