Skip to content

Vimeo scraper encounters spam protection page #232

Description

@dylanfisher

I'm not sure what this Cloudflare radar is, but it matches the response I'm getting in the video_info.data method https://radar.cloudflare.com/scan/682d43c4-cb03-4e66-853d-c27c573dd98f/dom.

Calling video_info.width, or any other method that is looking for a particular element in that data response, fails.

[27] pry(#<VideoModule>)> video_info.width
NoMethodError: undefined method `text' for nil:NilClass
from /Users/dylanfisher/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/video_info-4.2.0/lib/video_info/providers/vimeo_scraper.rb:152:in `json_info'

Have you encountered this before? I'm wondering if it's new Vimeo protection, or just something that I haven't seen before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions