tumblr: fetch tags, commentary, and image urls.

This commit is contained in:
evazion
2017-06-22 23:32:53 -05:00
parent d5ce6c98ef
commit 118843b26a
3 changed files with 118 additions and 10 deletions

View File

@@ -140,8 +140,8 @@ module Downloads
def set_source_to_referer(src, referer)
if Sources::Strategies::Nijie.url_match?(src) ||
Sources::Strategies::Twitter.url_match?(src) ||
Sources::Strategies::Tumblr.url_match?(src) ||
Sources::Strategies::Pawoo.url_match?(src) ||
Sources::Strategies::Tumblr.url_match?(src) || Sources::Strategies::Tumblr.url_match?(referer)
Sources::Strategies::ArtStation.url_match?(src) || Sources::Strategies::ArtStation.url_match?(referer)
strategy = Sources::Site.new(src, :referer_url => referer)
strategy.referer_url