Загрузка...

Why does “Just a moment” from cloudflare pop up when I request playerok?

Thread in Python created by ВилсонМозгодел Jan 7, 2025. 372 views

  1. ВилсонМозгодел
    Через cloudscraper делаю, через Aiohttp другая ошибка была

    Python
    import cloudscraper


    proxy = "http://"


    proxies = {
    "http": proxy,
    }


    scraper = cloudscraper.create_scraper()


    scraper.proxies = proxies


    url = "http://playerok.com"
    response = scraper.get(url)


    print(response.status_code)
    print(response.text)
     
  2. gawrgura
    gawrgura Jan 7, 2025 252 Feb 20, 2022
    cloudscraper не работает пару лет
     
    1. View previous comments (8)
    2. ВилсонМозгодел Topic starter
      nnbro9, спс работает. Только сука надо узнать как...
    3. nnbro9
      ВилсонМозгодел, с сайта берешь api ключ
      Python
      import requests

      url = "ТВОЯ ССЫЛКА"
      proxy = "http://ТУТ ТВОЙ КЛЮЧ:@api.zenrows.com:8001"
      proxies = {"http": proxy, "https": proxy}
      response = requests.get(url, proxies=proxies, verify=False)
      print(response.text)
    4. View the next comments (2)
  3. SandFoxy
    SandFoxy Jan 8, 2025 :dance::dance::dance::dance::dance::dance::dance::dance::dance: 88 Sep 13, 2024
    1. Denzyve
      SandFoxy, распространяется
  4. SUAI
    SUAI Jan 8, 2025 2 Feb 15, 2022
    тебе ip банят, потому что сервер распознает в запросе бота, сделай заголовки к запросу хотя бы
     
    1. gawrgura
      SUAI, в данном случае этого недостаточно
  5. greshnikov
    greshnikov Jan 8, 2025 следую за хомиаком 257 Dec 11, 2024
    Юзай curl_cffi с параметром impersonate
     
Top
Loading...