Category "python-requests"

python requests can't find a folder with a certificate when converted to .exe

I have a program that pools ad stats from different marketing systems. Everything works fine untill i convert it to the .exe format and run it. Exception in Tk

ahrefs.com authorization using python requests

I'm trying to login to https://ahrefs.com/user/login. Everything works fine in browser, but it shows the webpage "Under maintenance" using python. Can someone t

Python bz2 returns EOFerror before the whole file has been read

I am trying to lazily load items from a compressed file that resides in Zenodo. My goal is to iteratively yield the items without storing the file in my compute

Can't grab coordinates from ArcGIS iframe in a webpage using requests

I've created a script to get coordinates (-119.412 49.023 in this case) from a map located in a webpage using requests module. When I try using my script below

Convert html source code to json object

I am fetching html source code of many pages from one website, I need to convert it into json object and combine with other elements in json doc. . I have seen

how to use same cookies over multiple requests when using python requests

I am new to python requests and am using it to scrape a website and get to a certain webpage, first I login and then I do a few requests for other webpages: im

Requests (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.") Error in PyCharm requesting website

Using requests in Python3 Windows via Pycharm, and receiving SSL Module Not Available Error I've spent hours trying to figure out what could be causing this. I

Python - load an in-memory ZipFile object as bytes

I have a script which creates a closed in-memory ZipFile object that I need to post as a bytestring (using requests); how do I do that? I have tried opening th

I have trouble with FTX api

I want to get my balance using the FTX api. Refer to the Python sample code in the api docs and change it as follows. But it returns an error message. {"success

Max retries exceeded with URL in requests

I'm trying to get the content of App Store > Business: import requests from lxml import html page = requests.get("https://itunes.apple.com/in/genre/ios-bus

PermissionError: [WinError 32] when importing the requests module

When I run the command import requests, I get this: Traceback (most recent call last): File "C:\Users\user1\AppData\Local\Programs\Python\Python310\lib\import

scraping yell with python requests gives 403 error

I have this code from requests.sessions import Session url = "https://www.yell.com/s/launderettes-birmingham.html" s = Session() headers = { 'user-agent':"

Scraping network traffic data

I'm well aware of scraping webpages with requests, BS, and a few other tools, but I can't seem to find a way to create a program that scrapes stuff found in the

How to post two (several) arguments via requests.post() in Python?

I need to post two arguments: .xls file, and one more constant (e.g. 1000) this is how I tried to do it, but it failed: requests.post('http://13.59.5.143:8082/b

Requests format for uploading multiple images in FastAPI

Example Here's my code trying to upload a list of images: import requests import glob import cv2 path = glob.glob("test_folder/*", recursive=True) # a list of

Scraping data from oddsportal.com with Python

I have been trying to extract the data for each cell on a number from this ajax website, the details for each cell only pop-up when a mouse point on the cell. I

Custom JSONEncoder for requests.post

I'm writing wrapper for REST API and use requests module. Method .json() of Response object transfers **kwargs to json.loads() function, so I can easily use cu

No module named 'requests' in Jupyter with Python3, but "Requirement already satisfied" for Python3

I'm on a macOS with Catalina, running my environment from venv. I'm trying to import requests within a Jupyter notebook Python3, but I'm getting the following e

Scraping First post from phpbb3 forum by Python

I have alink like that http://www.arabcomics.net/phpbb3/viewtopic.php?f=98&t=71718 the link has LINKS in first post in phpbb3 forum How I get LINKS in fir

Robot Framework Requests could not find cert path

I am running the following keyword below to create a client cert session and it creates it perfectly fine: Create Client Cert Session alias=${alias} url=${url