Skip to main content
1 vote
0 answers
81 views

GET requests with Python return long string [closed]

i'm trying to develop tools for my sport club and for that i would like use an API requests with python automatically obtain information from french handball federation website. For that a use a ...
Mikaël MARTIN's user avatar
1 vote
0 answers
39 views

Connection management while maintaining requests.Session

What I found While using the requests library for HTTP requests, I noticed that there were many TCP connections in the FIN_WAIT2 state on the server. Through code analysis, I found that these ...
oyealex's user avatar
  • 11
-1 votes
0 answers
63 views

test of multiple url requests at the same time [closed]

I have a public website. I use a VM version of it to test changes to nginx.conf, script changes etc. I currently have a python script that I use to parse the logs from the public website, and then use ...
JohnA's user avatar
  • 913
0 votes
1 answer
113 views

Why do POST requests from Cloud Run arrive as GET at my Django REST API (GKE)?

What are the details of your problem? I have a serverless pipeline on Google Cloud: A “Video Sender” uploads .mp4 files to Google Cloud Storage (works fine). An Eventarc + Pub/Sub trigger fires a ...
Raul Chiarella's user avatar
3 votes
1 answer
83 views

Unable to post large file with python requests library

I try to post large file and read response as streaming with requests python library. I have to send a large text file (2 million lines of log ) and receive response back as streaming. If I did by ...
mathieu's user avatar
  • 93
0 votes
0 answers
69 views

python request getting different result than postman

I am attempting to improve my python by working on a side-project, just interacting with websites to look at avaialble golf tee times. Zero intention/plans to do anything commercial, this is just a ...
tman's user avatar
  • 439
0 votes
0 answers
48 views

One request fails, but others don't; it also succeeds in terminal

I checked a lot of trouble-shoot topics, but didn't find what might be wrong here... (This is a second attempt at fixing this issue, but this time I dug deeper.) I'm going off this API documentation: ...
ErikDB's user avatar
  • 69
1 vote
1 answer
211 views

Trouble scraping dynamic lottery results table – inconsistent parsing

I’ve been trying to scrape lottery results from a website that shows draws. The data is presented in a results table, but I keep running into strange issues where sometimes the numbers are captured ...
Zuryab's user avatar
  • 11
0 votes
1 answer
184 views

Congress API Auth Token Failure

Congress API Down Over the past few days I've been building along term web app that interfaces with the official Congress.gov API (found here),but as of 20 minutes ago, the entire API seems to have ...
ACCE's user avatar
  • 25
1 vote
0 answers
149 views

Post a local video file as a REEL using Instagram API in Python

I am able to post a video from a public URL as a REEL: import requests token = "..." api_version="v23.0" headers = { "Content-Type": "application/json", ...
Physics_Student's user avatar
1 vote
2 answers
275 views

How to download protected PDF (ViewDocument) using Selenium or requests?

I'm trying to download a protected PDF from the New York State Courts NYSCEF website using Python. The URL looks like this: https://iapps.courts.state.ny.us/nyscef/ViewDocument?docIndex=...
Daremitsu's user avatar
  • 655
0 votes
1 answer
50 views

Is this Sumtracker API request correct?

I wish to use the Sumtracker API, and I want to connect and do a basic get for this endpoint. Let's say that my API key is 1234567890abc. The code is here: import requests url = "https://...
TheFaithfulLearner's user avatar
1 vote
0 answers
58 views

MS Graph request returns 403

To automate processing of my e-mail messages on MS account, I have registered some application called "NameOfMyRegisteredApplication"; gave it all MS Graph Read rights; and then I ran the ...
Boba's user avatar
  • 43
0 votes
1 answer
75 views

How to emulate browser using requests in Python?

I am trying to download a files from API via Python requests. I cannot emulate a browser despite using the headers. I tried using requests.get(link, headers=headers) and it did not work. I also don't ...
SheperoMah's user avatar
3 votes
0 answers
134 views

Python requests library refusing to accept correct verify certificate

The following application performs a basic HTTP GET request against https://google.com, retrieves the peer certificate and saves it in PEM format into a file called cert.pem. After that it attempts ...
jwa's user avatar
  • 3,307

15 30 50 per page
1
2 3 4 5
1469