1 Star 0 Fork 0

seven/crawlerTecentComic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.py 1018 Bytes
一键复制 编辑 原始数据 按行查看 历史
seven 提交于 2019-10-17 13:52 . 完成项目基本测试,可运行
from copyheaders import headers_raw_to_dict
# 设置目标网站
domain = {
"target_url":"https://ac.qq.com/ComicView/index/id/541812/cid/14?fromPrev=1"
}
# 设置请求头
header = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "zh-CN,zh;q=0.9",
"Cookie": "pgv_pvi=2899869696; pgv_pvid=5273601228; pac_uid=0_5d7a0fbddc83e; nav_userinfo_cookie=; ts_refer=www.baidu.com/link; ts_uid=3721001597; theme=dark; roastState=2; readLastRecord=%5B%5D; tvfe_boss_uuid=e21cb49235f1dca2; pgv_info=ssid=s7316987320; readRecord=%5B%5B541812%2C%22%E8%A5%BF%E8%A1%8C%E7%BA%AA%22%2C7%2C%22%E7%AC%AC1%E8%AF%9D%20%E9%BE%99%E4%B8%8E%E7%8B%BC%22%2C1%5D%5D; ts_last=ac.qq.com/ComicView/index/id/541812/cid/7",
"Host": "ac.qq.com",
"User-Agent": "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xuyanzhao/crawlerTecentComic.git
[email protected]:xuyanzhao/crawlerTecentComic.git
xuyanzhao
crawlerTecentComic
crawlerTecentComic
master

搜索帮助