上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 125 下一页
摘要: using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 {... 阅读全文
posted @ 2017-12-18 17:46 公众号python学习开发 阅读(1942) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-12-16 23:14 公众号python学习开发 阅读(158) 评论(0) 推荐(0)
摘要: 【http之100-continue】 1、http 100-continue用于客户端在发送POST数据给服务器前,征询服务器情况,看服务器是否处理POST的数据,如果不处理,客户端则不上传POST数据,如果处理,则POST上传数据。在现实应用中,通过在POST大数据时,才会使用100-conti 阅读全文
posted @ 2017-12-13 10:50 公众号python学习开发 阅读(502) 评论(0) 推荐(0)
摘要: .net添加http报头 阅读全文
posted @ 2017-12-13 10:41 公众号python学习开发 阅读(583) 评论(0) 推荐(0)
摘要: from selenium import webdriver import time driver=webdriver.Chrome() driver.get("http://music.163.com/#/login") now_handle = driver.current_window_handle #得到当前窗口句柄 time.sleep(5) driver.switch_to.... 阅读全文
posted @ 2017-12-12 15:47 公众号python学习开发 阅读(1341) 评论(0) 推荐(0)
摘要: #使用了线程库 import threading from queue import Queue from bs4 import BeautifulSoup import json import requests class ThreadCrawl(threading.Thread): def __init__(self,threadNmae,pageQueue,dataQueue)... 阅读全文
posted @ 2017-12-12 13:20 公众号python学习开发 阅读(425) 评论(0) 推荐(0)
摘要: import unittest from selenium import webdriver from bs4 import BeautifulSoup as bs class douyu(unittest.TestCase): #初始化方法 def setUp(self): self.option = webdriver.ChromeOptions() ... 阅读全文
posted @ 2017-12-12 10:29 公众号python学习开发 阅读(780) 评论(0) 推荐(0)
摘要: import json import jsonpath import requests url="https://www.lagou.com/lbs/getAllCitySearchLabels.json" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHT... 阅读全文
posted @ 2017-12-11 15:16 公众号python学习开发 阅读(486) 评论(0) 推荐(0)
摘要: from bs4 import BeautifulSoup import requests import time def captcha(captcha_data): with open("captcha.jpg",'wb') as f: f.write(captcha_data) text=input("请输入验证码") def zhihuLogin... 阅读全文
posted @ 2017-12-11 14:47 公众号python学习开发 阅读(937) 评论(0) 推荐(0)
摘要: 分享几个比较好的站点 IBM developerWorks 中国 : IBM developerWorks : 技术主题 ITエキスパートのための問題解決メディア Qiita - プログラマの技術情報共有サービス InfoQ: Software Development News, Videos & 阅读全文
posted @ 2017-12-08 11:38 公众号python学习开发 阅读(194) 评论(0) 推荐(0)
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 125 下一页