- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 远程访问斐讯天天链N1(python源码)写的不好 仅仅为了实现功能
from smb.SMBConnection import SMBConnection from tkinter import * import tkinter.filedialog as filedialog class ConnectSamba(): def __init__(self): #self.username = 'root' #se...
2018-04-12 15:30:44
2168
原创 urllib模拟登陆人人网
import urllib import http.cookiejar posturl = 'http://www.renren.com/PLogin.do' headers = { 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0', 'Referer': '...
2018-02-27 13:55:40
301
原创 session模拟登陆人人网
import requests s = requests.session() data = {'email':'15313699921','password':'688b1aa21bed9edb07f5984e6452cc3e06c77c11614aa3ba2bb3977fb398b914'} postData = { 'email': 'xxxxxxxx', 'icode': ...
2018-02-27 13:53:32
520
原创 tqmd实现进度条
import os from urllib.request import urlopen import requests from tqdm import tqdm def download_from_url(url, dst): file_size = int(urlopen(url).info().get('Content-Length', -1)) if os.path...
2018-02-27 13:53:12
1087
原创 requests和urllib.request实现对比
import requests import urllib.request #requests req = requests.get('http://www.xiami.com/search?key=%E5%9B%9B%E5%A4%A7',headers={ 'Connection': 'Keep-Alive', 'Accept': 'text/h...
2018-02-27 13:49:40
8536
1
原创 京东优惠券获取、分析
import requests from bs4 import BeautifulSoup quanxx = [] quan = [] quannr = [] for k in range(32):#获取多少页优惠券 print('正在获取第'+str(k+1)+'页优惠券信息') url = 'http://a.jd.com/coupons.html?ct=4&pag...
2018-02-27 13:45:16
7380
1
Nessus-6.10.9-debian6_amd64.deb
2017-07-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅