frazierlei / pornhub-downloader Goto Github PK
View Code? Open in Web Editor NEW基于 Aiohttp 和 Pyppeteer 的 PornHub 视频下载工具,支持多任务并行下载。
基于 Aiohttp 和 Pyppeteer 的 PornHub 视频下载工具,支持多任务并行下载。
从上次提问已经过去好几年了,不过作者的代码我一直都在有学习,从近几年来我修改了一下作者关于下载model全部视频的代码(主要是爬取两页及两页以上的所有视频链接),但是最近爬的时候特别是多线程获取了flashvar变量里面的视频地址访问之后发现根本不是原视频地址。不知道老哥有没有更新代码,以及老哥有没有些爬这个的新思路。
我学习了一段时间python之后自己也动手写了一些代码来爬p站视频,但是到p站视频的m3u8文件有嵌套,最终我找到了整个视频的m3u8文件,并且进行aiohttp和aiofiles进行异步连接下载。但是连接一直提示470,并且告诉我说这个request user unauthorized我用老哥你的py程序跑起来 ffmpeg也一直提示470.想问下老哥这种情况有遇到过吗
python pornhub_downloader.py https://cn.pornhub.com/view_video.php\?viewkey\=ph********39
Following is the error information. How do I fix it?
sys:1: RuntimeWarning: coroutine 'Launcher.killChrome' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
如题 感谢大佬
File "pornhub_downloader.py", line 23
header = {"Range": f"bytes=first_byte-file_size"}
^
SyntaxError: invalid syntax
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.