Fix #5063: Support downloading ArtStation video clips.

This commit is contained in:
evazion
2022-11-16 21:53:08 -06:00
parent 869fddbb1a
commit 96e1b6a512
2 changed files with 3 additions and 4 deletions

View File

@@ -57,8 +57,6 @@ class Source::Extractor
if asset[:asset_type] == "image"
asset_url(asset[:image_url])
elsif asset[:asset_type] == "video_clip"
next # XXX Skip for now; actually downloading these videos requires bypassing a Cloudflare captcha.
url = Nokogiri::HTML5.parse(asset[:player_embedded]).at("iframe").attr("src")
next if url.nil?