jaymadeapp/prehrajto-scraper ? reverse-engineered prompt
Reverse engineered prompt
Build me a Rust scraper for prehraj.to that can search videos by keyword and return useful details like the title, duration, file size, quality, and a direct download link.
I also want subtitle extraction, the ability to pick the best quality by default or see all available versions, and support for downloading the original file when I have a logged in session using a refresh token. Please make it respectful of the site with built in rate limiting and automatic retries so it does not hammer the server.
If it makes sense, include a simple Tauri plugin too so a desktop app can call search and download link methods from the frontend. Keep the API easy to use from Rust, and add a couple of simple examples or tests so I can see how it works. Use current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit