当前位置:网站首页>Beautiful girls
Beautiful girls
2022-07-29 07:59:00 【Zhao [email protected]】
import requests ,re
from fake_useragent import UserAgent
import time,os
# Request web page
url="https://www.vmgirls.com/13344.html"
headers ={
"User-Agent":UserAgent().chrome
}
# Show your identity
r=requests.get(url,headers=headers)
#print(r.request.headers) # Check the header information
#print(r.text)
html =r.text
# Parse web pages
dirname=re.findall('<h1 class="post-title h3">(.*?)</h1>',html)[0]
result =re.findall('<a href="(.*?)" alt=".*?" title=".*?">',html)
if not os.path.exists(dirname):
os.mkdir(dirname)
# Save sheet
for url in result:
time.sleep(1)
# The name of the picture
filename=url.split("/")[-1]
print(" Downloading :"+filename)
r = requests.get(url, headers=headers)
with open (dirname+ "/" +filename,"wb")as f:
f.write(r.content)
版权声明
本文为[Zhao [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/210/202207290520357760.html
边栏推荐
- State machine DP 3D
- [untitled] format save
- Resize2fs: bad magic number in super block
- [cryoelectron microscope | paper reading] a feature guided, focused 3D signal permutation method for subtogram averaging
- C language data type
- In an SQL file, a test table and data are defined above, and you can select* from the test table below
- State machine DP (simple version)
- flutter只要是数据,都会判空的
- Solving linear programming problems based on MATLAB
- Realize the effect of changing some colors of a paragraph of text
猜你喜欢

Zero technology is deeply involved in the development of privacy computing financial scenario standards of the ICT Institute

@JsonSerialize注解的使用
![[paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching](/img/dc/255bf122d5243f2a08ca0e03b53137.png)
[paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching

Detailed explanation of two modes of FTP

Solving linear programming problems based on MATLAB
What are the principles and methods of implementing functional automation testing?

Implementation of simple cubecap+fresnel shader in unity

Research on autojs wechat: the final product of wechat automatic information sending robot (effective demonstration)

Why don't you like it? It's easy to send email in cicd

Amaze UI icon query
随机推荐
Day 014 2D array exercise
Access数据库引入datagridview数据后,显示错误
Unity beginner 2 - tile making and world interaction (2D)
Unity - default rendering pipeline - sculpt shader
207. Curriculum
[cryptography experiment] 0x00 install NTL Library
[cryoelectron microscope] relation4.0 - subtomogram tutorial
[introduction to cryoelectron microscopy] Caltech open class course notes part 3:image formation
[paper reading | cryoelectron microscope] interpretation of the new subtomogram averaging method in relion 4.0
Basic introduction to pod
在一个sql文件中,上面定义一个测试表及数据,下面可以select* from 测试表
Tcp/ip five layer reference model and corresponding typical devices and IPv6
CDM - code division multiplexing (easy to understand)
After the access database introduces DataGridView data, an error is displayed
CentOS deploy PostgreSQL 13
UPC little C's King Canyon
[skill accumulation] presentation practical skill accumulation, common sentence patterns
Vmstat memory consumption query
Explanation and closing method of server 135, 137, 138, 139, 445 and other ports
下推分析的限制