seo伪原创/百度链接推送/原创检测工具,python超简单POST案例
2021/5/13 14:55:39
本文主要是介绍seo伪原创/百度链接推送/原创检测工具,python超简单POST案例,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
seo伪原创/百度链接推送/原创检测工具,python超简单POST案例
seo伪原创,号称AI伪原创,其实是翻译接口!
网页链接推送 目测是分享接口
原创检测,分段进行百度搜索检测
#不念博客post # -*- coding: UTF-8 -*- import requests import urllib.parse import time import json from fake_useragent import UserAgent headers={ 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Connection': 'keep-alive', 'Content-Length': '77', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Host': 'aiwyc.applinzi.com', 'Origin': 'https://www.bunian.cn', 'Referer': 'https://www.bunian.cn/ai/', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36', } def ua(): ua=UserAgent() headers={ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Origin': 'https://www.bunian.cn', 'Referer': 'https://www.bunian.cn/ai/', "User-Agent":ua.random, } return headers #伪原创(其实是翻译) def get_wyc(key): key=urllib.parse.quote(key) key=f'info={key}' print(key) url="https://aiwyc.applinzi.com/wyc/get.1.2.php?key=" req=requests.post(url,data=key,headers=ua()) print(req) print(req.status_code) print(req.text) time.sleep(5) #原创度检测 def get_ycdjc(word): word=urllib.parse.quote(word) word=f'content={word}' url = "https://aiwyc.applinzi.com/wyc/query/1.2.php" req = requests.post(url, data=word, headers=ua()) print(req) print(req.status_code) print(req.text) print(json.loads(req.text)) print(json.loads(req.text)['info']) time.sleep(5) def get_bdts(url): url=urllib.parse.quote(url) word=f'urls={url}' posturl = "https://www.bunian.cn/gongjv/push/bdpush.php?mod=push" req = requests.post(posturl, data=word, headers=ua()) print(req) print(req.status_code) print(req.text) time.sleep(2) if __name__ == '__main__': list=["个人防护类主动降噪隔音耳机", "应用在射击训练场、大型机械加工车间等长时间噪声特种作业环境", "属于个人防护类有源设备", "搭载智能主动降噪模块", "配合高分辨率定向拾音麦克风"] word="个人防护类主动降噪隔音耳机,应用在射击训练场、大型机械加工车间等长时间噪声特种作业环境,属于个人防护类有源设备,搭载智能主动降噪模块,配合高分辨率定向拾音麦克风,能将大于82分贝的环境噪音大幅降低至人耳可接受范围,同时不影响周围人员说话的收听;兼具蓝牙通讯对讲功能。" url="http://www.pinlasuo.com/news.html" for key in list: print(key) get_wyc(key) get_ycdjc(word) get_bdts(url)
这篇关于seo伪原创/百度链接推送/原创检测工具,python超简单POST案例的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-08有遇到过吗?同样的规则 Excel 中 比Python 结果大
- 2024-03-30开始python成长之路
- 2024-03-29python optparse
- 2024-03-29python map 函数
- 2024-03-20invalid format specifier python
- 2024-03-18pool.map python
- 2024-03-18threads in python
- 2024-03-14python Ai 应用开发基础训练,字符串,字典,文件
- 2024-03-13id3 algorithm python
- 2024-03-13sum array elements python