🔥 Automated link bypass & direct download extraction for HDHub 🔥
No more clicking through annoying redirects and countdown timers! 😈
A blazingly fast REST API that:
- 🎯 Scrapes movie/series download pages from HDHub
- 🔓 Bypasses pesky gadgetsweb & hubcloud redirects
- ⚡ Extracts direct download links automatically
- 🚀 Cloudflare-resistant with curl_cffi fallback
"Why waste 30 seconds clicking buttons when code can do it in 3 seconds?" 😏
Feature Description 🎬 Movie Support Scrape single movie pages 📺 Series Support Handle batch packs + individual episodes 🔐 Token Decryption Reverse-engineered JS bypass (Rot13, Base64, etc.) 🛡️ Cloudflare Bypass Auto-fallback to curl_cffi when blocked 🌐 REST API Clean FastAPI endpoints ☁️ Vercel Ready Deploy in one click
# Clone it git clone https://github.com/itzmepromgitman/HDhub-bypass-api.git cd HDhub-bypass-api # Install deps pip install -r requirements.txtEdit
.envto set the active website URL:# Change this when domain updates! 🔄 WEBSITE_URL=https://hdhub4u.catering💡 On Vercel: Set
WEBSITE_URLin your project's Environment Variables settings instead!uvicorn api.index:app --reload --port 8000
💡 All endpoints support both GET and POST methods!
- GET: Pass URL as query parameter →
?url=YOUR_URL- POST: Send JSON body →
{"url": "YOUR_URL"}
GET /Returns API info & available endpoints.
Search for movies or series by name.
GET /search?q=avengers GET /search?q=breaking+badResponse:
{ "query": "avengers", "total_results": 5, "results": [ { "title": "Avengers Endgame 2019", "url": "https://hdhub4u.catering/avengers-endgame/", "poster": "https://...", "year": "2019", "type": "movie" } ] }
Extracts all download links with quality, size, and host info.
# GET Method (browser-friendly! 🌐) GET /find?url=https://hdhub4u.catering/some-movie-page/ # POST Method POST /find {"url": "https://hdhub4u.catering/some-movie-page/"}Response:
{ "title": "Movie Name", "type": "movie", "total_links": 6, "links": [ { "category": "batch", "quality": "1080p", "size": "2.5 GB", "title": "Movie.2024.1080p.mkv", "host": "HubCloud", "url": "https://gadgetsweb.xyz/?id=..." } ] }
# GET Method GET /scrape?url=https://hdhub4u.catering/some-movie-page/ # POST Method POST /scrape {"url": "https://hdhub4u.catering/some-movie-page/"}Response:
{ "title": "Movie Name", "type": "movie", "batch": [...], "singles": [...] }
# GET Method GET /bypass?url=https://gadgetsweb.xyz/?id=... # POST Method POST /bypass {"url": "https://gadgetsweb.xyz/?id=..."}Response:
{ "original_url": "...", "final_url": "https://direct-download-link.com/file.mkv", "filename": "Movie.2024.1080p.mkv" }
# GET Method GET /bypass_all?url=https://hdhub4u.catering/some-movie/ # POST Method POST /bypass_all {"url": "https://hdhub4u.catering/some-movie/"}Scrapes the page AND bypasses all found links in one call! 🔥
- Fork this repo
- Connect to Vercel
- Done! Your API is live 🎉
The
vercel.jsonconfig handles all the routing magic ✨
🔍 Click to see the bypass magic...
📥 Input: HDHub Movie/Series Page ↓ 🔎 Scrape: Extract all gadgetsweb URLs ↓ 🔐 Decrypt: Token → B64 → B64 → Rot13 → B64 → JSON ↓ 🌐 Navigate: HubCloud → Download Button → Final Link ↓ 📤 Output: Direct Download URLsThe site sends encrypted tokens + decryption logic client-side. We just replicate that logic 😈
hdhub/ ├── api/ │ └── index.py # FastAPI app + all endpoints ├── bypass.py # Standalone bypass script ├── .env # 🔧 Website URL config (easy domain switch!) ├── .env.example # Example config for contributors ├── .gitignore # Keeps secrets safe ├── requirements.txt # Python dependencies ├── vercel.json # Vercel deployment config └── README.md # You are here! 📍
⚠️ Educational purposes only!
This project demonstrates web scraping & link bypass techniques. Use responsibly. Respect website Terms of Service. The author is not responsible for misuse. 🙃
🔥 Argon 🔥
📱 Telegram • 🐙 GitHub
⭐ Star this repo if it saved your clicks! ⭐
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|