#!/usr/bin/env python
#-*- coding:utf-8 -*-
import requests,time,os
from bs4 import BeautifulSoup
headers = {
"User-Agent":'Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10'
}
class imgClass(object):
'''基础设置'''
def __init__(self,url):
self.url = url
requests爬取图片保存--记录
最新推荐文章于 2024-08-28 01:40:52 发布