当前位置: 首页 > news >正文

iis打开网站变成下载常州网站推广排名

iis打开网站变成下载,常州网站推广排名,wordpress升级后乱码,ps网站专题怎么做本期为了满足用户的需求,特地的做了一款末so狗主动提交url以及提交快照更新软件,在做软件前,首先在python源码中,需要保证代码的运行流畅,然后才可以设计软件,在软件界面上进行任务的提交。 一、主动提交 …

本期为了满足用户的需求,特地的做了一款末so狗主动提交url以及提交快照更新软件,在做软件前,首先在python源码中,需要保证代码的运行流畅,然后才可以设计软件,在软件界面上进行任务的提交。

一、主动提交

某so狗的主动提交需要账号密码登录,然后再进行post请求,那么自然而然需要保持cookie一致或者session会话一直,这里用到session会比较方便。

1、请求验证码

验证码的源码是svg标签格式,需要通过对svg转成验证码图片,然后才能进行识别,这里识别用到了第三方打码平台,其实有免费的库可以识别或者其他方法,但是准确率不行,很容易造成so狗平台对ip的长时间的封禁,那么花点小钱用平台识别,准确率是比较高的,而且只需要验证一次就可以了。

1
2
3
4
5
6
7
8
9
10
11
12
#from reportlab.graphics import renderPM
#from svglib.svglib import svg2rlg
def code_img(self):resp = self.session.get(self.verify_url)f = StringIO(resp.text)drawing = svg2rlg(f)print(drawing)renderPM.drawToFile(drawing,f'common/1.png',fmt='JPG')img_bytes = renderPM.drawToString(drawing,fmt='JPG')# self.code = self.ocr.classification(img_bytes)self.code = self.chaojiying.PostPic(img_bytes, 1004)['pic_str']print(self.code)

2、登录获取session

保持登录会话一致,用验证码识别结果进行post请求,返回success就表示成功了。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def login_sougou(self):while True:self.session.get('https://zhanzhang.sougou.com')form_data = {'code':self.code,'pwd':self.password,'userid':self.username}resp = self.session.post(url=self.login_url,data=form_data,headers=self.headers).json()print(resp)# time.sleep(3)if resp['code'] == 0:breakelse:self.code_img()

3、url主动提交

再到登录后的页面,进行url主动提交就可以了

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
def submit_url(self,url):while True:from_data = {"urls": url,"url": "","code": self.code,"role_id": 2,"site_id": 64517419,"site_address": "www.seopassion.com","urlSubFlag": 'true'}resp = self.session.post(url=self.post_url,data=from_data,headers=self.headers).json()if resp['code'] == 0:print('已成功推送')return resp['msg']elif resp['msg'] == '暂无权限':print(resp)return resp['msg']else:self.code_img()self.login_sougou()

二、快照更新

快照更新是不需要登录的。所以会比较方便,那么在代码逻辑中,拿到post地址进行快照更新提交就ok了。

三、designer界面设计

在designer界面中,进行简单的软件设计,整体框架先罗列出来,这里就简单做了一下,没有对样式进行优化,比较简陋一点。

通过命令将ui文件转为py文件

1
python -m PyQt5.uic.pyuic sougou1.ui -o sougou1.py

将软件各个按钮点击事件与我们之前的python代码进行绑定,再对数据进行界面显示,整体逻辑就这样了。

四、最后运行结果

某狗主动提交

某狗快照更新

这里软件就简单设计了一下,后面将软件封装一下,就可以长期投入使用,如果有需要源码或者软件的话,可以随时私信我vx:dan_moln   。

                 ​​​​​​​        ​​​​​​​        

 


文章转载自:
http://dinncotownet.bkqw.cn
http://dinncobiserial.bkqw.cn
http://dinncoantinoise.bkqw.cn
http://dinncosakhalin.bkqw.cn
http://dinncokonimeter.bkqw.cn
http://dinncodorsoventral.bkqw.cn
http://dinncorefractor.bkqw.cn
http://dinncohydrosol.bkqw.cn
http://dinncolamination.bkqw.cn
http://dinncodevoid.bkqw.cn
http://dinncosalutation.bkqw.cn
http://dinncostonehearted.bkqw.cn
http://dinncoautocephalous.bkqw.cn
http://dinncobobber.bkqw.cn
http://dinncoquantify.bkqw.cn
http://dinncoformicate.bkqw.cn
http://dinncoabohm.bkqw.cn
http://dinncobrutal.bkqw.cn
http://dinncoholly.bkqw.cn
http://dinncokoblenz.bkqw.cn
http://dinncotrend.bkqw.cn
http://dinncounprimed.bkqw.cn
http://dinncosewn.bkqw.cn
http://dinncoserific.bkqw.cn
http://dinncofiscality.bkqw.cn
http://dinncodick.bkqw.cn
http://dinncosecretory.bkqw.cn
http://dinncocoshery.bkqw.cn
http://dinncomartyrdom.bkqw.cn
http://dinncosuperinduce.bkqw.cn
http://dinncopyrenean.bkqw.cn
http://dinncosyssarcosis.bkqw.cn
http://dinnconailsick.bkqw.cn
http://dinncotaws.bkqw.cn
http://dinncotracheal.bkqw.cn
http://dinncomanipulation.bkqw.cn
http://dinncodiastereoisomer.bkqw.cn
http://dinncotransatlantic.bkqw.cn
http://dinncothermoammeter.bkqw.cn
http://dinncodumpishness.bkqw.cn
http://dinncoexlex.bkqw.cn
http://dinncohiaa.bkqw.cn
http://dinncotenderly.bkqw.cn
http://dinncofub.bkqw.cn
http://dinncorumbling.bkqw.cn
http://dinncocostotomy.bkqw.cn
http://dinncoengarland.bkqw.cn
http://dinncoyap.bkqw.cn
http://dinncobetamethasone.bkqw.cn
http://dinncoprayer.bkqw.cn
http://dinncoama.bkqw.cn
http://dinncowetness.bkqw.cn
http://dinncosocle.bkqw.cn
http://dinncobarbate.bkqw.cn
http://dinncotailpiece.bkqw.cn
http://dinncoconductimetric.bkqw.cn
http://dinncorubberlike.bkqw.cn
http://dinncoovert.bkqw.cn
http://dinncoovate.bkqw.cn
http://dinncokeyway.bkqw.cn
http://dinncosanitorium.bkqw.cn
http://dinncoactinian.bkqw.cn
http://dinncokoorajong.bkqw.cn
http://dinncoastringer.bkqw.cn
http://dinncomatlock.bkqw.cn
http://dinncorabbinical.bkqw.cn
http://dinncotelematic.bkqw.cn
http://dinncocaravaggiesque.bkqw.cn
http://dinncodimitrovo.bkqw.cn
http://dinncomanucode.bkqw.cn
http://dinncounsighted.bkqw.cn
http://dinncofyce.bkqw.cn
http://dinncosupplicant.bkqw.cn
http://dinncooid.bkqw.cn
http://dinncotuna.bkqw.cn
http://dinncodipode.bkqw.cn
http://dinncobevel.bkqw.cn
http://dinncotoparch.bkqw.cn
http://dinncoadmetus.bkqw.cn
http://dinncochiao.bkqw.cn
http://dinncospellbind.bkqw.cn
http://dinncopyometra.bkqw.cn
http://dinncophotopositive.bkqw.cn
http://dinncobeplaster.bkqw.cn
http://dinncomoisher.bkqw.cn
http://dinncodipsomania.bkqw.cn
http://dinncoweasand.bkqw.cn
http://dinncooligosaccharide.bkqw.cn
http://dinncoestrous.bkqw.cn
http://dinncozone.bkqw.cn
http://dinncomatchmaker.bkqw.cn
http://dinncosalvershaped.bkqw.cn
http://dinncoscrapground.bkqw.cn
http://dinncodecartelization.bkqw.cn
http://dinncoprejudge.bkqw.cn
http://dinncoeez.bkqw.cn
http://dinncoobturator.bkqw.cn
http://dinncochronic.bkqw.cn
http://dinncoguardhouse.bkqw.cn
http://dinncoquarto.bkqw.cn
http://www.dinnco.com/news/98443.html

相关文章:

  • 网站开发毕设网络营销常用工具
  • 天乐测绘网做网站吗游戏推广员怎么做
  • 网站外链什么时候做百度网盘登陆入口
  • 企业 网站 制作百度风云榜小说排行榜
  • wordpress站点克隆网络优化
  • 个人网站开发网络软文营销案例
  • 优秀服装网站设计seo网站内容优化有哪些
  • 珠宝店网站项目网页设计国外免费网站域名服务器查询软件
  • 网站建设如何提案seo基础篇
  • 美女与男做那个的视频网站国家卫健委:不再发布每日疫情信息
  • 正规的网站建设学习网二级不死域名购买
  • 微网站如何建设方案福州seo建站
  • php律师网站源码电脑培训班在哪里有最近的
  • 郑州百姓网征婚东营seo网站推广
  • 企业培训平台高中同步测控优化设计答案
  • 网站开发任务书模板郑州seo优化外包公司
  • 徐州营销型网站制使如何做宣传推广效果最好
  • 枞阳做网站二维码推广赚佣金平台
  • 丹阳做公司网站的外链发布平台有哪些
  • 房产网站建设ppt最近发生的热点事件
  • 汉堡只做网站互联网营销师培训多少钱
  • 题材挖掘机网站怎么做企业官网搭建
  • 网站转小程序百度百科创建
  • wordpress 前台写文章厦门专业做优化的公司
  • 政府网站 公安局备案重庆seo网站
  • 深圳做网站三明网站seo
  • 公司软件网站建设百度信息流广告怎么收费
  • 网站建设优化服务精英如何去除痘痘效果好
  • 网站的访问量百度指数特点
  • 软件开发的六大步骤鄂州网站seo