Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for redgifs.com #749

Open
pawgchamp opened this issue Sep 14, 2024 · 0 comments
Open

add support for redgifs.com #749

pawgchamp opened this issue Sep 14, 2024 · 0 comments
Labels
service request add support for a new service

Comments

@pawgchamp
Copy link

service name

redgifs

service description

Video hosting website that primarily serves pornographic/sexually explicit content.

(If pornographic sites are intentionally not supported then please accept my apologies and feel free to ignore this issue.)

link samples

The following are videos on Redgifs of the actress Sydney Sweeney WITHOUT nudity:

https://www.redgifs.com/watch/perkydishonesttigerbeetle
https://www.redgifs.com/watch/hairywhoppingeft

additional context

Redgifs has recently changed how it shows /watch/ pages in a seemingly intentional effort to make it much harder to download videos from it. I am proposing its inclusion for this reason.

As far as implementation goes I have some suggestions:

The document <head> includes a <link> element which provides a URL for a thumbnail image, served from files.redgifs.com:

<link rel="preload" as="image" href="https://files.redgifs.com/PerkyDishonestTigerbeetle-mobile.jpg">

The href's value here can be adapted to retrieve a direct video link. Note that the mp4's file name is case-sensitive:

https://files.redgifs.com/PerkyDishonestTigerbeetle.mp4

To reiterate this only works if the mp4's file name is case-sensitive as it is given in the -mobile.jpg. Therefore it should be as simple as a search and replace from that to .mp4, I would've thought.

@pawgchamp pawgchamp added the service request add support for a new service label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service request add support for a new service
Projects
None yet
Development

No branches or pull requests

1 participant