seo伪原创/百度链接推送/原创检测工具,python超简单POST案例

seo伪原创/百度链接推送/原创检测工具,python超简单POST案例

seo伪原创,号称AI伪原创,其实是翻译接口!
网页链接推送 目测是分享接口
原创检测,分段进行百度搜索检测

seo伪原创/百度链接推送/原创检测工具,python超简单POST案例

#不念博客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案例

seo伪原创/百度链接推送/原创检测工具,python超简单POST案例
seo伪原创/百度链接推送/原创检测工具,python超简单POST案例

上一篇:js 数据处理


下一篇:zoj3432 Find the Lost Sock 亦或的运用