All Projects → FrazierLei → PornHub-Downloader

FrazierLei / PornHub-Downloader

Licence: other
基于 Aiohttp 和 Pyppeteer 的 PornHub 视频下载工具,支持多任务并行下载。

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PornHub-Downloader

Python Mocket
a socket mock framework - for all kinds of socket animals, web-clients included
Stars: ✭ 209 (+945%)
Mutual labels:  aiohttp
cb4
Joint Online Judge
Stars: ✭ 20 (+0%)
Mutual labels:  aiohttp
HisokaBOT-Whatsapp-Bot
Whatsapp Bot - Node Js.
Stars: ✭ 75 (+275%)
Mutual labels:  pornhub
Multidict
The multidict implementation
Stars: ✭ 225 (+1025%)
Mutual labels:  aiohttp
revolt.py
Python wrapper for https://revolt.chat
Stars: ✭ 58 (+190%)
Mutual labels:  aiohttp
Playing-with-Asyncio
This series shows you the basics of how to use the Asyncio Library in Python.
Stars: ✭ 37 (+85%)
Mutual labels:  aiohttp
Aiohttp admin
admin interface for aiohttp application http://aiohttp-admin.readthedocs.io
Stars: ✭ 207 (+935%)
Mutual labels:  aiohttp
aiokubernetes
Asynchronous Kubernetes Client
Stars: ✭ 26 (+30%)
Mutual labels:  aiohttp
just-tit
Adult video search engine
Stars: ✭ 60 (+200%)
Mutual labels:  pornhub
updater
Update mechanism of f1jobs.co
Stars: ✭ 20 (+0%)
Mutual labels:  beautifulsoup4
Gidgethub
An async GitHub API library for Python
Stars: ✭ 226 (+1030%)
Mutual labels:  aiohttp
HealthApp
A desktop application to fetch Wikipedia,Google,Disease results and save them as text file,in database.Have a Section to search details about doctors in location
Stars: ✭ 23 (+15%)
Mutual labels:  beautifulsoup4
fastAPI-aiohttp-example
How to use and test fastAPI with an aiohttp client
Stars: ✭ 69 (+245%)
Mutual labels:  aiohttp
Arsenic
Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Stars: ✭ 209 (+945%)
Mutual labels:  aiohttp
CoubDownloader
A simple downloader for coub.com
Stars: ✭ 64 (+220%)
Mutual labels:  aiohttp
Create Aio App
The boilerplate for aiohttp. Quick setup for your asynchronous web service.
Stars: ✭ 207 (+935%)
Mutual labels:  aiohttp
cashews
Cache with async power
Stars: ✭ 204 (+920%)
Mutual labels:  aiohttp
Pyrez
(ON REWRITE) An easy to use (a)sync wrapper for Hi-Rez Studios API (Paladins, Realm Royale, and Smite), written in Python. 🐍
Stars: ✭ 23 (+15%)
Mutual labels:  aiohttp
tinyPornManager
Made for pornhub. Fork from tinyMediaManager v3
Stars: ✭ 57 (+185%)
Mutual labels:  pornhub
amazon wishlist pricewatch
Periodically check your public Amazon wishlist for price reductions.
Stars: ✭ 22 (+10%)
Mutual labels:  beautifulsoup4

PornHub-Downloader

目前 main 分支下的代码使用 Asyncio + Aiohttp + Pyppeteer,原先的旧代码保留在其他分支中。

为什么需要异步下载

如果下载电影时网速能够拉满的话,一个一个下和一个下完再下另一个并没有什么区别,但是很多时候因为资源服务器设在境外,下载的网速是受到很大限制的。比如你的最大下载速度是 10M/s,但是下载单个资源的最大速度是 1M/s,这样的情况下,同时下载 10 个电影能够最大效率利用你的带宽。

Asyncio 最操蛋的地方是他的 API 在每一个 Python 版本(3.4/3.5/3.7/3.10)中都有不小的变化,这就导致在各种博客、教程里你能看到各种各样的 asyncio 代码。

Pyppeteer 最操蛋的地方是他是 Puppeteer 的 Python 版本,他的选择器极其难用,不过也可能是我太笨了。所以在解析这部分我是用同步的方法去做的,这必然对整个程序的速度有些影响,但是也不大,毕竟大部分时间我们都在发请求,然后把响应写入硬盘。

image-20211226173811160

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].