Pornhub Video Downloader & Metadata Scraper
Pricing
$4.99 / 1,000 results
Pornhub Video Downloader & Metadata Scraper
Extracts full metadata and direct M3U8 video download URLs from Pornhub video pages. Supports direct video URLs as well as search results, channel pages, pornstar pages, and category listings.
Pricing
$4.99 / 1,000 results
Rating
0.0
(0)
Developer
Paweł
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
🎬 Pornhub Video Downloader & Metadata Scraper
🎯 Pull complete video metadata and direct download URLs from Pornhub — at scale, in a single click.
This scraper turns any Pornhub video page, search query, channel, pornstar, or category into clean, structured JSON. Get titles, view counts, ratings, performers, categories, tags, channel data, thumbnails, and direct M3U8 streaming URLs — ready to import into your database, spreadsheet, or pipeline.
🚀 What Does It Do?
Feed it any Pornhub URL and it returns structured, ready-to-use data for every video. No browsing, no copy-paste — just set your URLs and hit Start.
💡 Two modes of operation:
- 🎯 Direct Video Mode — Provide a list of
view_video.php?viewkey=...URLs and get a full record per video. - 🔍 Discovery Mode — Provide a search results URL, channel page, pornstar profile, or category page. The scraper paginates through listings and extracts every video it finds, up to your configured limit.
👥 Who Is This For?
| 🏢 Use Case | 💬 How It Helps |
|---|---|
| 📊 Market Researchers | Track trending content, top performers, view-count distributions, and category popularity |
| 🎬 Content Aggregators | Build niche video catalogs with titles, thumbnails, durations, and direct stream URLs |
| 📈 SEO & Affiliate Marketers | Mine high-traffic titles, tags, and descriptions for keyword research |
| 🤖 Dataset Builders | Generate structured training data with rich metadata and stable video IDs |
| 🔬 Academic Researchers | Quantitative content analysis with reproducible, exportable datasets |
| 💾 Personal Archivists | Save metadata and direct M3U8 URLs for offline reference |
✨ Features
- 🎬 Full Video Metadata — Title, description, duration, upload date, thumbnail, embed URL
- 📊 Engagement Stats — Views, upvotes, downvotes, like percentage, favorites count
- 🔗 Direct M3U8 URLs — All available qualities (240p → 1080p+) plus the master HLS playlist
- 🌟 Performer & Channel Info — Pornstars, channel name, channel URL, subscriber count, channel video count
- 🏷️ Rich Tagging — Full categories list, tags list, production type (professional/amateur)
- 🔍 Listing Discovery — Feed it a search URL, pornstar page, channel, or category and let it paginate automatically
- 🧠 Smart Deduplication — Same video won't be scraped twice, even across multiple listing sources
- 🎛️ Smart Filters — Cap total results, toggle download URLs on/off, include or skip related videos
- ⚡ Fast & Scalable — Lightweight HTTP-only architecture, scales from 5 videos to 5,000 in a single run
- 📤 Export Anywhere — Download results as JSON, CSV, Excel, or push to Google Sheets, Zapier, Make, or your CRM
🎛️ Filters & Options
| Option | What It Does |
|---|---|
| 🔗 Start URLs | List of Pornhub URLs — supports video pages, search results, channels, pornstars, models, users, and categories |
| 🔢 Max Videos | Cap on the total number of videos to scrape per run |
| 🎞️ Extract Download URLs | Toggle whether direct M3U8 URLs and quality variants are included in the output |
| 🎯 Include Related Videos | Add the "next video" suggestion shown on each video page to the record |
| ⚙️ Max Concurrency | How many pages to fetch in parallel — lower if you hit rate limits |
| 🔄 Max Retries | Retry budget per failed request |
| 🌐 Proxy Configuration | Residential proxies recommended for geo-restricted access and reliable throughput |
📦 What You Get (Output Fields)
Every video record includes:
Identity & URLs
| Field | Example |
|---|---|
| videoId | 1857642371 |
| viewKey | ph5d7166bbcabc7 |
| url | https://www.pornhub.com/view_video.php?viewkey=ph5d7166bbcabc7 |
| embedUrl | https://www.pornhub.com/embed/ph5d7166bbcabc7 |
| thumbnailUrl | https://ci.phncdn.com/videos/.../thumb.jpg |
Content Metadata
| Field | Example |
|---|---|
| title | Sunday Morning Yoga Routine - Full Session |
| description | Relaxing 20-minute morning flow recorded at home. |
| duration | 1247 |
| durationFormatted | 20:47 |
| uploadDate | 2024-08-12T00:00:00+00:00 |
| categories | ["Amateur", "Couples", "Verified"] |
| tags | ["yoga", "morning", "homemade", "verified-couple"] |
| pornstars | ["Anna Smith"] |
| productionType | Homemade |
Engagement Stats
| Field | Example |
|---|---|
| views | 2843911 |
| upvotes | 12453 |
| downvotes | 812 |
| likePercent | 94 |
| favorites | 8721 |
Channel
| Field | Example |
|---|---|
| channel.name | AnnaAndJohn |
| channel.url | https://www.pornhub.com/users/annaandjohn |
| channel.subscribers | 124000 |
| channel.videoCount | 87 |
Download URLs
| Field | Example |
|---|---|
| bestM3u8Url | https://cv.phncdn.com/.../1080P_4000K_index.m3u8 |
| masterM3u8Url | https://cv.phncdn.com/.../master.m3u8 |
| downloadUrls | [{ "quality": "1080", "format": "hls", "videoUrl": "..." }, { "quality": "720", "format": "hls", "videoUrl": "..." }] |
📊 Example Output
{"videoId": "1857642371","viewKey": "ph5d7166bbcabc7","url": "https://www.pornhub.com/view_video.php?viewkey=ph5d7166bbcabc7","title": "Sunday Morning Yoga Routine - Full Session","description": "Relaxing 20-minute morning flow recorded at home.","duration": 1247,"durationFormatted": "20:47","uploadDate": "2024-08-12T00:00:00+00:00","thumbnailUrl": "https://ci.phncdn.com/videos/202408/12/abc123/original/thumb.jpg","embedUrl": "https://www.pornhub.com/embed/ph5d7166bbcabc7","views": 2843911,"upvotes": 12453,"downvotes": 812,"likePercent": 94,"favorites": 8721,"categories": ["Amateur", "Couples", "Verified"],"tags": ["yoga", "morning", "homemade", "verified-couple"],"pornstars": ["Anna Smith"],"productionType": "Homemade","channel": {"name": "AnnaAndJohn","url": "https://www.pornhub.com/users/annaandjohn","subscribers": 124000,"videoCount": 87},"downloadUrls": [{"quality": "1080","format": "hls","videoUrl": "https://cv.phncdn.com/.../1080P_4000K_index.m3u8","defaultQuality": true},{"quality": "720","format": "hls","videoUrl": "https://cv.phncdn.com/.../720P_1500K_index.m3u8","defaultQuality": false},{"quality": "480","format": "hls","videoUrl": "https://cv.phncdn.com/.../480P_600K_index.m3u8","defaultQuality": false},{"quality": "240","format": "hls","videoUrl": "https://cv.phncdn.com/.../240P_400K_index.m3u8","defaultQuality": false}],"bestM3u8Url": "https://cv.phncdn.com/.../1080P_4000K_index.m3u8","masterM3u8Url": "https://cv.phncdn.com/.../master.m3u8","nextVideo": null,"pageTitle": "Sunday Morning Yoga Routine - Pornhub.com","pageDescription": "Watch Sunday Morning Yoga Routine on Pornhub.com...","scrapedAt": "2026-05-03T10:24:18.452Z"}
📋 Dataset Views
The Apify Console gives you 5 ready-made table views to quickly browse your results:
| View | What It Shows |
|---|---|
| 📊 Overview | Title, video ID, views, like %, duration, upload date, URL |
| 🌟 Performers & Channel | Title, performers, channel, production type, categories |
| 🎞️ Download URLs | Title, video ID, duration, best M3U8, master M3U8, all qualities |
| 📈 Engagement Stats | Title, views, upvotes, downvotes, like %, favorites, upload date |
| 📋 Full Details | Every single field — the complete dataset |
❓ FAQ
🤔 Can I scrape an entire pornstar's filmography?
Yes — paste their pornstar page URL (e.g. https://www.pornhub.com/pornstar/...) into Start URLs and set Max Videos high. The scraper will paginate through every page automatically.
🤔 Will I get download URLs I can use? Yes — every record includes the direct M3U8 streaming URLs at every available quality, plus the master HLS playlist. These are the same URLs the Pornhub player uses internally.
🤔 Does it work with private or members-only videos? No — the scraper only collects publicly available video pages. Anything behind a login or premium paywall is out of scope.
🤔 What about geo-restricted regions? Pornhub blocks several regions (UK, parts of the US, etc.). Use Apify's residential proxies (recommended) — the scraper automatically routes through them so geo-blocking is bypassed transparently.
🤔 Can I export the data? Yes — JSON, CSV, Excel, XML, HTML, RSS. You can also push data directly to Google Sheets, Zapier, Make, or any webhook/API endpoint.
🤔 How often should I run this? For trending or freshly-uploaded content, run daily or weekly. You can schedule automatic runs on Apify with just a few clicks.
🤔 Does it work with proxies? Yes — residential proxies are strongly recommended. The scraper works with Apify's built-in proxy service out of the box.
🛠️ Need Custom Filters or Features?
I'm happy to customize this scraper for your specific needs! 🤝
Whether you need:
- 🎯 Additional filters (minimum views, duration ranges, specific category combos, upload-date windows)
- 📊 Extra data fields or custom output formats
- 🔄 Integration with your CRM, Google Sheets, S3 bucket, or database
- 💾 Automatic M3U8 → MP4 download pipeline
- ⏰ Scheduled scraping with automatic deduplication against your existing dataset
- 🌐 Scraping from other adult tube platforms alongside Pornhub
👉 Don't hesitate to reach out via private message — I respond quickly and I'm always open to building exactly what you need. No request is too small or too specific!
⚖️ Legal & Ethical Use
This scraper collects only publicly available information from Pornhub video pages. It does not access private content, bypass authentication, or download copyrighted material. Please use the data responsibly and in compliance with applicable laws, copyright rules, and Pornhub's terms of service.