artists: normalize foriio.com artist URLs.

Normalize `https://fori.io/comori22` to `https://www.foriio.com/comori22` in artist entries.
This commit is contained in:
evazion
2022-10-12 23:45:20 -05:00
parent 0831b8dc9a
commit eb8f98e4a6
2 changed files with 11 additions and 0 deletions

View File

@@ -131,6 +131,16 @@ class Source::URL::Null < Source::URL
@work_id = $1
@page_url = "https://www.facebook.com/photo.php?fbid=#{work_id}"
# https://fori.io/comori22
in _, "fori.io", username
@username = username
@profile_url = "https://www.foriio.com/#{username}"
# https://www.foriio.com/comori22
in _, "foriio.com", username
@username = username
@profile_url = "https://www.foriio.com/#{username}"
# https://a.hitomi.la/galleries/907838/1.png
# https://0a.hitomi.la/galleries/1169701/23.png
# https://aa.hitomi.la/galleries/990722/003_01_002.jpg