Tag:Level of appearance

  • Easywechat web page authorization login

    Time:2021-4-3

    Using easywechat to log in to wechat public function __construct ( Request $request = null ){ parent::__construct(); $this->config = [ ‘app_id’ => ‘wx11ca*****98df5’, ‘secret’ => ‘f860284********2d732d0beae9’, //Specifies the type of the result returned by the API call: array (default) / collection / object / raw / custom class name // ‘response_type’ => ‘array’, ‘oauth’ => […]

  • Click Submit Form

    Time:2021-3-30

    <form action=”/search” id=”search_form”> <input type=”text” name=”keywords” value=”” placeholder=”Furniture Handles” class=”jhser” /> <span class=”serBtn” onclick=”document:search_form.submit();”>Search</span> </form> Form gives an ID search_ formThen click on the price event onclick=“ document:search_ form.submit ();” High value background management system is free to use. Zifeng background management system can be directly installed on the pagoda panel Welcome to my official […]

  • Is this showgirl OK? AI tells you who is the most beautiful little sister in ChinaJoy

    Time:2021-2-3

    Abstract:CJ opening, against the summer heat of the dog days, walk all day, in order to take some beautiful sister to show you. The annual visual feast of games is coming again! As a fat house controlled by game animation, it is necessary to go to CJ scene. In addition to looking at the game […]

  • Python collects beautiful girl

    Time:2020-12-5

    import requests; import re; import os; #1. Request web page header = { “user-agent”:’Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36′ } response = requests.get(‘https://www.vmgirls.com/2957.html’,headers=header) # print(response.text) html = response.text #2. Parsing web pages urls = re.findall(‘<img .*?data-pagespeed-lsc-url=”(.*?)”.*?>’,html) dir_name = re.findall(‘<h1 class=”post-title h3″>(.*?)</h1>’,html); dir_name = dir_name[0] if not os.path.exists(dir_name): os.mkdir(dir_name) […]

  • Python collects the map and XPath

    Time:2020-12-4

    import requests;import re;import os;import parsel; 1. Request web page header = { “user-agent”:’Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36′ }response = requests.get(‘https://www.doutula.com/photo…’,headers=header)html = response.text 2. Parsing web pages selector = parsel.Selector(html) print(selector) dir_name = ‘doutu_list’if not os.path.exists(dir_name): os.mkdir(dir_name) result_list = selector.xpath(‘//a[@class=”col-xs-6 col-sm-3″]’)for result in result_list: title = result.xpath(‘./img/@alt’).get() img_url […]

  • Python collection bucket diagram (multithreading)

    Time:2020-12-3

    import concurrent import requests; from concurrent.futures import ThreadPoolExecutor import os; import parsel; def send_request(url): header = { “user-agent”:’Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36′ } requests.packages.urllib3.disable_warnings() response = requests.get(url,headers=header) return response def pare_data(data): selector = parsel.Selector(data) result_list = selector.xpath(‘//a[@class=”col-xs-6 col-sm-3″]’) for result in result_list: title = result.xpath(‘./img/@alt’).get() src_url = […]

  • Authorized login of easywechat

    Time:2020-9-15

    Using easywechat to login wechat public function __construct ( Request $request = null ){ parent::__construct(); $this->config = [ ‘app_id’ => ‘wx11ca*****98df5’, ‘secret’ => ‘f860284********2d732d0beae9’, //Specifies the type of return result of API call: array (default) / collection / object / raw / custom class name // ‘response_type’ => ‘array’, ‘oauth’ => [ ‘scopes’ => [‘snsapi_userinfo’], […]

  • It’s said that Zhihu uses Python to climb high beauty. How does it work?

    Time:2020-8-14

      1 data source The pictures that appear in the answers to all the questions under the topic “beauty” 2 grab tool Python 3, and uses the third-party library requests, lxml, aipface, the code is 100 + lines 3 necessary environment MAC / Linux / windows. Before windows, there were many abnormal reactions. Later, it […]

  • Visual analysis of young ladies and sisters in youth with you 2 by Python

    Time:2020-6-30

    This paper mainly uses Python combined with crawler and visualization technology to carry out simple data statistics and analysis of “youth has you 2”. 1、 Access to information Use the scratch framework introduced in the previous article to crawl the data of iqiyi official help website, but this involves the capture of dynamic web pages. […]

  • Face detection using face + +

    Time:2020-6-2

    Face + + document address: https://console.faceplusplus…. Face + + face detection interface address https://api-cn.faceplusplus.c… Parameter Description: Required or not Parameter name type Parameter description Mandatory api_key String Call the API key of this API Mandatory api_secret String API secret calling this API Mandatory image_base64 String Base64 encoded binary image data Optional return_landmark int Whether to […]

  • Zhihu uses Python to climb high beauty (reptile + face detection + face detection)

    Time:2020-4-17

    1 data sources Pictures of answers to all questions under the topic “beauty” 2 grab tool Python 3, and use the third-party library requests, lxml, aipface, code 100 + lines in total 3 necessary environment MAC / Linux / windows (Linux has not been tested, theoretically. Before windows, there were many exceptions. It is found […]

  • A brief review of markdown editor

    Time:2020-4-12

    Now most of the editors on the market are familiar to you. As a person who will die without tossing, he has basically tossed all the common editors and some unusual editors. It’s not a heavy writer, but I still have to write some every month, and I have to manage a lot of previous […]