第一次实战爬虫!实行可以勉强看懂+gpt主笔的模式
前几次的错误就不说了
后面一次是我没有找到图片的对应代码且没有完整展开
第二次是gpt没写对,于是我要求给调试信息
后来在和gpt的一同分析下发现其没有正确找到URL(e站完整看图需要展开)
第三次是下载下来的图片损坏,原因可能是需要特定的referer或者其他header才能下载
第四次是下载下来的图片没有损坏,但绝对不对劲,确实好像是那个代码里的gif(HTML代码片段显示了一个div元素,其中包含一个背景图片的URL和一个img元素。img元素的src属性被设置为一个透明的GIF图片,这是一种常见的技术,用于在图片加载时显示一个占位符。
然而,代码试图从div元素的style属性中提取背景图片的URL,而不是从img元素的src属性中提取。)
第五次重复了一遍错
第六次终于成功了
(写markdown要加br)
总共花了45min
血压高了,-f push 把readme push没了,重写一份
normal版会有超时现象(那个网址稳定输出2张,这个的稳定5张)
第一次改动试试延时5秒,失败了
那就只能是代理被ban了,在测试完后也发现别人19年就说过“E绅士对单一cookie的访问频率做了限制,现在要把EX绅士爬一遍除了需要大量代理还需要大量帐号”
QAQ 看来到此为止了
又整我?为什么到底是谁占用了让我push不成?
webscrapefore-hentai's Introduction
webscrapefore-hentai's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.