Skip to content

Spoof headers and referrers #682

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

Open
trimechee opened this issue Apr 3, 2025 · 1 comment
Open

Spoof headers and referrers #682

trimechee opened this issue Apr 3, 2025 · 1 comment

Comments

@trimechee
Copy link

trimechee commented Apr 3, 2025

Hi, recently I made a request to Mr Hellonyanis the developer of great fork from te stratch with new options, design ...Mr Hellonyanis developed fork named Media-downloader-unleashed forked from the original extension: Live stream downloader , and my request was: " Please bring back the real heavy mode improved media detection to download vidmoly videos without the need to playback, just like Live stream downloader do with its heavy mode ! "

vidmoly video to test:
https://vidmoly.to/embed-yhrvmwlrpgzy.html

Here is the interesting answer from Mr Helloyanis:

"Here's what LSD does:

Reads the page source code and tries to find media links.
Once it finds them it adds them to the list.
However, I think there's a problem with this implementation because:

It does not allow to spoof headers and referrers. If the browser has not yet made the request for the media, you can't know what you're supposed to send for protected routes.
It won't detect everything. For example,

mediaId = "myMedia"
fetch(https://${mediaId}.m3u8)
would not be detected because the whole URL is not specified in the code. However it's still being sent as 1 URL by the browser so I can detect it when it's being requested (the video is played)

So that means

Navigation would be slowed down by A LOT if I have to check every request, every page's source code and re-check it every time it changes.
It would sometimes work but sometimes show broken links that can't be downloaded
You can just detect it by playing the media. It's just 1 click away anyways!
If you have any other ideas on how to implement it, let me know."

So, it seems that the heavy mode I enable by default in the Live Stream Downloader extension may have some flaws, although for now, I haven't encountered any issues with the vital heavy mode because it allows me to download videos without the need to playback videos first !

And our dream, please, is Mr. @xifangczy will fix all the possible flaws of heavy mode (add Spoof headers and referrers feature) and integrate an option to enable heavy mode by default out of the box.

This way, Cat Catch will be able to match and even surpass the phenomenal power of Live Stream Downloader extension , which is currently the most powerful downloader in the world because it is the only extension on the planet that can download vidmoly videos without video playback (I tested other competing extensions, even the famous Stream Recorder extension can't download without video playback first...).
Thanks :)


UPDATE :

Godd news, in the last version of his fork of Live stream downloader, Mr Helloyanis added new commits to spoof headers and referrers in the new version of his extension ! maybe it will be good idea to make add the same mechanism to Cat Catch , thanks !

@trimechee
Copy link
Author

UPDATE :

Hi Mr @xifangczy , so in the last version of his fork of Live stream downloader, Mr Helloyanis added new commits to spoof headers and referrers in the new version of his extension ! maybe it will be good idea to add the same mechanism to Cat Catch , thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant