mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
Fix deviantart scraper
This commit is contained in:
parent
26d71d66d7
commit
75f0e66a0d
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
defmodule Philomena.Scrapers.Deviantart do
|
defmodule Philomena.Scrapers.Deviantart do
|
||||||
@image_regex ~r|<link data-rh="true" rel="preload" href="([^"]*)" as="image"/>|
|
@image_regex ~r|data-rh="true" rel="preload" href="([^"]*)" as="image"|
|
||||||
@source_regex ~r|<link data-rh="true" rel="canonical" href="([^"]*)"/>|
|
@source_regex ~r|rel="canonical" href="([^"]*)"|
|
||||||
@artist_regex ~r|https://www.deviantart.com/([^/]*)/art|
|
@artist_regex ~r|https://www.deviantart.com/([^/]*)/art|
|
||||||
@serial_regex ~r|https://www.deviantart.com/(?:.*?)-(\d+)\z|
|
@serial_regex ~r|https://www.deviantart.com/(?:.*?)-(\d+)\z|
|
||||||
@cdnint_regex ~r|(https://images-wixmp-[0-9a-f]+.wixmp.com)(?:/intermediary)?/f/([^/]*)/([^/?]*)|
|
@cdnint_regex ~r|(https://images-wixmp-[0-9a-f]+.wixmp.com)(?:/intermediary)?/f/([^/]*)/([^/?]*)|
|
||||||
|
|
Loading…
Reference in a new issue