RepositoryPHP
Joel2B

Joel2B/XVideos-PornHub-RedTube-API

This script scrapes the HTML from different web pages to get the information from the video (XVideos, PornHub, RedTube) and you can use it in your own video player.

181sao
43fork
7issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: scrapper

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: pornhub-scraper

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: scrapping-php

#1 Repository Của Tuần

🎬 Công cụ lấy nguồn video từ XVideos, PornHub, RedTube bằng PHP

Chỉ cần một request GET, trả về JSON chứa nguồn HLS/MP4, thumbnail và VTT preview.

Dự án XVideos-PornHub-RedTube-API là một script PHP 7 giúp bạn khai thác HTML từ các trang video lớn như XVideos, PornHub và RedTube để lấy thông tin video: nguồn phát (MP4, HLS), ảnh bìa (poster), danh sách thumbnail xem trước (VTT), đồng thời hỗ trợ thêm trang mới và lưu bộ nhớ đệm (cache).

✨ Điểm nổi bật

  • Lấy nguồn video HLS & MP4: hỗ trợ cả đường link phát trực tiếp và danh sách phát HLS.
  • Lấy thumbnail (poster): trả về URL ảnh bìa của video.
  • Tạo danh sách thumbnail VTT: dùng cho tính năng preview khi di chuyển thanh thời gian.
  • Hỗ trợ thêm trang mới: dựa trên file cấu hình sources.json.
  • Lưu bộ nhớ đệm: tránh gọi lại HTML trùng lặp.
  • Phân lớp tốc độ trang: tối ưu thời gian chờ bằng cách gom trang theo tốc độ phản hồi.

💡 Vì sao đáng chú ý

Không cần proxy hay tài khoản riêng, chỉ cần triển khai trên máy chủ PHP 7 và gửi request GET với site_id, video_id và data. Dữ liệu trả về đã ở dạng JSON, dễ tích hợp ngay vào bất kỳ trình phát video nào. Dự án phù hợp cho người muốn tự host nền tảng xem video nội dung bên ngoài mà không cần phụ thuộc vào API chính thức.


#PHP #API #VideoScraper #XVideos #PornHub #RedTube #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
sinkaroid/lustpress

Unified REST + GraphQL API for PornHub and other R18 platform

133
Nov 4, 2026
RepositoryPython
EchterAlsFake/unofficial-api-for-pornhub

Unofficial Python client for xvideos.com: search, metadata extraction, and video download (curl-cffi + selectolax)

175
Nov 17, 2026
RepositoryTypeScript
pionxzh/Pornhub.js

Powerful PornHub API for Node.js

115
Jun 30, 2026
RepositoryTypeScript
firecrawl/firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

207.6k
Nov 23, 2026
RepositoryGo
iawia002/lux

👾 Fast and simple video download library and CLI tool written in Go

31.8k
Mar 29, 2026
RepositoryTypeScript
webLiang/Pornhub-Video-Downloader-Plugin-v3

Pornhub 视频下载 Chrome 插件。Chrome extension for Pornhub video download in multiple resolutions. Also supports Xvideos, XNXX, xHamster, and RedTube.

954
Nov 20, 2026
RepositoryTypeScript
rodrigogs/xvideos

xvideos API library

310
Sep 11, 2026
RepositoryJavaScript
JustalK/PORNHUB-API

A powerful and complete scrapper for the very famous pornhub.com. This javascript module for node give you the possibility, through an API with many options, to scrap any information out of a page or the search page.

187
May 6, 2024
RepositoryTypeScript
remotion-dev/remotion

🎥 Make videos programmatically with React

75.2k
Nov 23, 2026