猫史档案馆


【知识帝】知识帝再次...........卷土重来,而且还恶意举报!!!

用户:全宇宙最酸的柠檬全宇宙最酸的柠檬查看:125 回复:18 评论:125 创建时间:2021-11-30T18:10:51


这次得小心了,在知识帝黑历史里的人。怼过知识帝的人都小心点。恶意举报,我先die了。

这次的他找遍你的所有角落,找到你的所有评论,进行极限举报,我已经有3个了center_image都小心点,特别是喷子咸鱼、nomand、水栩裸、一楼余晖以及高仿都小心点。我可能得封号了,因为我的涉及范围很广(指评论)


回复

上一页1 页 / 共 1下一页
闻乐溪闻乐溪

这关知识帝啥事()

点赞0


评论


全宇宙最酸的柠檬全宇宙最酸的柠檬

center_image

点赞0


评论


全宇宙最酸的柠檬全宇宙最酸的柠檬

喵d

点赞0


评论


不歪刻晴真君_不歪刻晴真君_

emm……他还到处要人删帖,还说要封锁他(知识帝自己)的工作室……我有亿点懵

点赞0


评论


不歪刻晴真君_不歪刻晴真君_

center_image

点赞0


评论


Albert钟Albert钟

对对我也被恶意举报了

点赞0


评论


Albert钟Albert钟

他被解封了又要搞些风波

点赞1


评论


小白天天向上小白天天向上

center_image

点赞0


评论


86135cLc86135cLc

高仿来了

点赞0


评论


执着的独角蛛编程boss之无敌红客知识帝执着的独角蛛编程boss之无敌红客知识帝

在造谣试试,我再举报

点赞0


评论


天鹰室长不会代码吖天鹰室长不会代码吖

center_image

诶嘿没想到吧我截了图

点赞1


评论


执着的独角蛛编程boss之无敌红客知识帝执着的独角蛛编程boss之无敌红客知识帝

谢谢你们的配合引出未成年主播,(到时给你们个惊喜)

点赞0


评论


执着的独角蛛编程boss之无敌红客知识帝执着的独角蛛编程boss之无敌红客知识帝

请删除所有这个贴,才算给你们那个**编辑器秘钥,这个编辑器我会找官方做一下,易语言这个消耗系统资源比较大,所以我把比易语言更厉害的设计图给弄出来了,减少掉发。惊喜不

点赞0


评论


一缕余晖一缕余晖

import requests
import time
import re
url = 411953
times = 0
headers = {
    'Accept': 'application/json, text/plain, */*',
    'Accept-Encoding': 'gzip, deflate, br',
    'Accept-Language': 'zh-CN,zh;q=0.9',
    'Connection': 'keep-alive',
    'Content-Type': 'application/json;charset=UTF-8',
    'Cookie': '',
    'Host': 'api.codemao.cn',
    'Origin': 'https://shequ.codemao.cn',
    'Sec-Fetch-Mode': 'cors',
    'Sec-Fetch-Site': 'same-site',
    'User-Agent': ''
}
html = requests.get(
    'https://api.codemao.cn/web/forums/posts/{}/details'.format(4555555), headers=headers).json()
error = html
slep = False


def tryy(url, headers, error):
    html = requests.get(url, headers=headers).json()
    try:
        if html['error_code'] == error['error_code']:
            return False
        else:
            return True
    except:
        return True


def sleep(url, headers, error):
    html = requests.get(
        'https://api.codemao.cn/web/forums/posts/{}/details'.format(url), headers=headers).json()
    try:
        if html['error_code'] == error['error_code']:
            return True
        else:
            return False
    except:
        return False

def match(text):
    last = None
    first = re.search('互',text)
    if first != None:
        first = first.group()
        first =  '{}.*?'.format(first)
        second = re.search('{}赞|{}关|{}收藏|{}再创|{}在创|{}在创作|{}再创作'.format(
            first,first,first,first,first,first,first),text)
        if second != None:
            second = second.group()
            last = 1
            print(second)
    else:
        first = re.search('[点赞]',text)
        if first != None:
            first = first.group()
            first = '{}.*?'.format(first)
            second = re.search('{}能不能|{}可否|{}看一下|{}给|{}点|{}赞|{}也'.format(
                    first,first,first,first,first,first,first),text)
            if second != None:
                second = second.group()
                last = 2
                print(second)
        else:
            first = re.search('0-20|一|二|三|四|五|六|七|八|九|十',text)
            if first != None:
                first = first.group()
                second = re.search('{}赞|{}关|{}收藏|{}再创|{}在创|{}在创作|{}再创作'.format(
                    first,first,first,first,first,first,first),text)
                if second != None:
                    second = second.group()
                    second = '{}.*?'.format(second)
                    third = re.search('{}[回换]'.format(second),text)
                    if third != None:
                        third = third.group()
                        third = '{}.*?'.format(third)
                        fourth = re.search('{}赞|{}关|{}收藏|{}再创|{}在创|{}在创作|{}再创作'.format(
                            third,third,third,third,third,third,third),text)
                        if fourth != None:
                            fourth = fourth.group()
                            print(fourth)
                            last = 3
    return last

def communityprint(resp,url):
    userid =  int(resp['user']['id'])
    username = resp['user']['nickname']
    print('-----------------')
    print(userid)
    print('-----------------')
    print(username)
    print('-----------------')
    print('https://shequ.codemao.cn/community/' + str(url))

def answer(url,times, headers, error):
    while True:
        boo = tryy(
            'https://api.codemao.cn/web/forums/posts/{}/details'.format(url), headers, error)
        if boo == True:
            resp = requests.get('https://api.codemao.cn/web/forums/posts/{}/details?offset=1&limit=10'.format(url),headers = headers).json()
            text = resp['content'] + resp['title']
            answer_ = requests.get(
    'https://api.codemao.cn/web/forums/posts/{}/replies?page=1&limit=10&sort=-created_at'.format(url),headers = headers).json()
            for i in answer_['items']:
                true = re.search('不|杜绝|远离|萌新|互赞大佬|互赞的大佬|xxs|xs|小学生|小孩子|小孩纸|pen|屁|pi|毛',i['content'])
                if match(i['content']) != None and true == None:
                    communityprint(i,url)
            true = re.search('不|杜绝|远离|萌新|互赞大佬|互赞的大佬|xxs|xs|小学生|小孩子|小孩纸|pen|屁|pi|毛',text)
            if true == None:
                if match(text) != None:
                    communityprint(resp,url)
            url += 1
            times = 0
        elif times < 5:
            answer(url+1,times+1, headers, error)
            if times > 0:
                break
            else:
                return True, url
                break
        elif times == 5:
            break


while 1:
    if slep == True:
        slep = sleep(url, headers, error)
    else:
        slep, url = answer(url, times, headers, error)

点赞1


评论


执着的独角蛛编程boss之无敌红客知识帝执着的独角蛛编程boss之无敌红客知识帝

center_imagecenter_image

点赞0


评论


佑可猫佑可猫

这种人别怕

点赞0


评论


一缕余晖一缕余晖

知识帝对不起,仔细一想其实你也就吹吹牛而已,吹牛在编程猫也不算错谬,所以对不起

点赞0


评论


DebugDynamoDebugDynamo

发生啥了

谁给我解释解释啊喂

点赞0


评论