app/logical/sources/strategies/deviant_art.rb
# Scrape UUID from <meta property="da:appurl" content="DeviantArt://deviation/12F08C5D-A3A4-338C-2F1A-7E4E268C0E8B">
# For private works the UUID will be nil.
Scrape UUID from 
For private works the UUID will be nil.
Scrape UUID from For private works the UUID will be nil .
def uuid
        meta = page.search('meta[property="da:appurl"]').first
        return nil if meta.nil?
        appurl = meta["content"]
        uuid = appurl[%r!\ADeviantArt://deviation/(.*)\z!, 1]
        uuid
      end
def uuid meta = page . search ( 'meta[property="da:appurl"]' ) . first return nil if meta . nil? appurl = meta [ "content" ] uuid = appurl [ %r! \A DeviantArt://deviation/(.*) \z ! , 1 ] uuid end
Scrape UUID from <meta property="da:appurl" content="DeviantArt://deviation/12F08C5D-A3A4-338C-2F1A-7E4E268C0E8B">
For private works the UUID will be nil.
Scrape UUID from <meta property = " da : appurl " content = " DeviantArt : // deviation / 12F08C5D - A3A4 - 338C - 2F1A - 7E4E268C0E8B " > For private works the UUID will be nil .