- 👋 Hi, I’m @Northxw
- 👀 I’m interested in Python, Network, Devops...
- 🌱 I’m currently learning Devops
northxw / python3_webspider Goto Github PK
View Code? Open in Web Editor NEWPython3 网络爬虫实践集合。涉及多类型验证码识别、多类型模拟登陆、多类型反反爬措施、APP数据抓取、Scrapy框架、分布式爬虫等。
Python3 网络爬虫实践集合。涉及多类型验证码识别、多类型模拟登陆、多类型反反爬措施、APP数据抓取、Scrapy框架、分布式爬虫等。
1、文件名保存的时候可以是描述+抖音ID,这样就不会因为相同的文案造成视频下载失败;
2、我一共尝试了两次,第一次爬了426个视频,视频信息共有427个,通过名称筛选一一对应上只有74个,视频信息中有因为视频链接不同保存了多次重复的。剩下的可能是因为我还添加了地理位置的信息,在爬取过程中有警告有的视频没有这项信息,可能没有保存视频信息;
3、json文件让我吃了点苦头,我修改成这样了
with open('./douyin.json', 'a', encoding='utf-8') as f:
json.dump(data, f, ensure_ascii=False)
f.write('\n')
谢谢您的分享!帮了我很大忙!
SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
博客园的
这个有去水印功能么
您好,请问您有出现保存的视频信息多于视频数量的情况出现吗?
今天突然就不能对抖音抓包了,mitmdump和charles都不能了。。昨天还能的。。。请问有什么解决办法吗?多谢!!试了网易云音乐可以
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.