A powerful Telegram bot designed to scrape and bypass download links from various movie and file hosting sites. It supports Cloudflare bypass using Playwright and integrates with sites like FilePress, HubCloud, HubDrive, and more.
- Link Bypassing & Scraping:
- GPLinks (using Playwright for robust bypassing)
- VPLink (handling multiple redirects and form submissions)
- FilePress (with Cloudflare Turnstile bypass)
- OxxFile, MediaCM
- HubCloud, HubDrive, HubCDN
- SkyMoviesHD, Cinevood, MoviesMod
- VegaMovies, KatMovieHD, 4kHDHub
- And many others.
- Search: Built-in search for movies on supported sites (Hdhub4u, SkyMoviesHD, Cinevood).
- Posters: Fetch movie posters via
/pcommand (IMDb, Google Images fallback). - Uptime: Includes a Flask server to keep the bot alive on services like Render.
This bot is configured to be easily deployed on Render. Since it uses Playwright, it requires a specific build environment to install the necessary browsers.
- A GitHub account.
- A Render account.
- A Telegram Bot Token (get it from @BotFather).
- Fork this repository to your GitHub account.
- Log in to Render and click "New +".
- Select "Blueprint Instance".
- Connect your forked repository.
- Render will automatically detect the
render.yamlfile. - Important: You will be prompted to enter your Environment Variables.
TOKEN: Paste your Telegram Bot Token here.
- Click Apply. Render will deploy the bot.
- Fork this repository.
- Create a new Web Service on Render.
- Connect your repository.
- Settings:
- Name:
scraper-bot(or any name you like) - Runtime:
Python 3 - Build Command:
./render_build.sh - Start Command:
python bot.py
- Name:
- Environment Variables:
- Scroll down to "Environment Variables".
- Add Key:
TOKEN - Value:
YOUR_TELEGRAM_BOT_TOKEN
- Click Create Web Service.
The ./render_build.sh script is crucial. It does the following:
- Upgrades
pip. - Installs python dependencies from
requirements.txt. - Installs Playwright browsers (
chromium).
Without this, features like GPLinks, OxxFile, and MediaCM bypass will fail because they rely on a headless browser to execute JavaScript and pass Cloudflare checks.
If you want to run this on your own machine or a VPS:
-
Clone the repo:
git clone <repo-url> cd <repo-folder>
-
Install dependencies:
pip install -r requirements.txt
-
Install Playwright browsers:
playwright install chromium
Note: You might need to run
playwright install-depson some Linux distributions. -
Configure Token:
- Set the
TOKENenvironment variable, or editbot.py(not recommended for public repos).
- Set the
-
Run the bot:
python bot.py
- Playwright Errors: If you see "Playwright not installed" or browser errors, ensure the build command was run correctly. On Render, checking the logs will usually show if
playwright installsucceeded. - VPLink/GPLinks Failures: These sites change their logic frequently. If a bypass stops working, the specific scraper script (
gplinks_scraper.pyorvplink_bypass.py) might need updating. - Cloudflare Blocks: Some sites (like VegaMovies) aggressively block bot IPs (including Render's). The bot handles some of these, but 403 errors are sometimes unavoidable without premium proxies.
- Playwright for the browser automation engine.
- Cloudscraper for handling basic Cloudflare challenges.