CSS Ribbon

Reproducing the GitHub Ribbon in CSS

百度文库下载(用别人的爬虫)

参考博客:https://blog.csdn.net/qq_17054989/article/details/80168214

参考网址:http://39.108.149.27:9999

复制代码
import requests

header = {'Accept': 'text/plain, */*; q=0.01',  # 模拟浏览器头信息
          'Accept-Encoding': 'gzip, deflate',
          'Accept-Language': 'zh-CN,zh;q=0.9',
          'Connection': 'keep-alive',
          'Content-Length': '135',
          'Content-Type': 'application/x-www-form-urlencoded',
          'Host': '39.108.149.27:9999',
          'Origin': 'http://39.108.149.27:9999',
          'Referer': 'http://39.108.149.27:9999/',
          'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36',
          'X-Requested-With': 'XMLHttpRequest'
          }
wenku = input('请输入您要下载文档的地址:')
# 真实网址
url = 'http://39.108.149.27:9999/default.aspx'
# 提交数据
datas = {
    'username': '',
    'password': '',
    'txtUrl': '{}'.format(wenku),
    'mail': 'XXXXXXXX@qq.com'#在这里输入你自己的邮箱哦亲
}
html = requests.request("POST", url, data=datas, headers=header)
print(html.text)
View Code
复制代码

 

posted on   pandaboy1123  阅读(767)  评论(0编辑  收藏  举报

编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示