Skip to main content
0votes
0answers
22views

"Connection broken: IncompleteRead(50454677 bytes read, 35845891 more expected)" upon fetching large Collection from Postman API

Upon fecthing a large collection item from Postman's API I get the following error: RuntimeError: Chunked transfer error: ('Connection broken: IncompleteRead(50454677 bytes read, 35845891 more ...
Alvaro's user avatar
0votes
1answer
39views

Python Requests with stream=True not working as supposed when using pipe mechanic. Trying to get distant video duration

I am trying to know the duration of a distant video file (say mp4). I know already how to get the duration of a local video file: import xml.etree.ElementTree as eltt, subprocess as spr def ...
Rainbobow's user avatar
-1votes
1answer
41views

How does Python requests handle DNS Answers with multiple IPs? [closed]

Some DNS records return multiple IP addresses (e.g. google.com will return a list of IPs). Questions: How does the python-requests library (or used under-the-hood tools) choose an IP address? Will ...
YH_'s user avatar
  • 49
2votes
0answers
60views

python-requests-html render inconsistent result

background: by default the website is only showing few names and there s a "moreBtn" to generate the full list code idea: create Html session, render with script clicking the "moreBtn&...
Beginner's user avatar
0votes
1answer
45views

PUT request inducing 400 Client Error: Bad Request for url, but GET request runs fine

I am getting a "400 Client Error: Bad Request for url" when I try to run my PUT request to Sheety to update my Google sheet. The link provided from the error states, "Unauthorized. A ...
Nadi's user avatar
0votes
0answers
59views

Return latest updated cell

I'm fairly new to the Google sheet API. I have been attempting to make a bot that takes IDs and processes them through an information system. I have run into a few issues such as getting the last ...
James Coble's user avatar
1vote
2answers
51views

Importing geographic data with WFS works on Chrome but not on Python

I am trying to pull a geojson file from here. The JSON appears as expected when I paste that link into Chrome or Safari. However, I get the following error every time when I run the following code on ...
opposity's user avatar
1vote
2answers
67views

How to detect and scrape a specific language version of a multilingual publication, if available?

I wrote a python script for scraping data from WHO website, I wanted to retrieve Title, author name, date, pdf link and child page link from parent page (i applied some filters on parent page) I am ...
Mann Jain's user avatar
-5votes
0answers
33views

GitLab to get all repo names using RESTAPI [closed]

Here is a simple python script to get all available repo names in BitBucket using restapi. This uses existing packages in python #!/usr/bin/python3 import requests import getpass username = input('...
Ramanan T's user avatar
0votes
1answer
75views

Python requests module: SSL: WRONG_VERSION_NUMBER error with specific website on specific machine

I am working on a project using Python's requests module. I am only getting this error when attempting to request data from api.rugcheck.xyz on my local machine; I am able to request data from other ...
Jacob's user avatar
0votes
1answer
29views

Posting to API with cURL works while Python requests fails

I have a cURL command that works when uploading a file while the equivalent Python requests fails. Here is the cURL command curl -X POST "http://<DOMAIN>/polarion/rest/v1/projects/<...
barneyAgumble's user avatar
0votes
0answers
33views

SEC.gov | Request Rate Threshold Exceeded - Your Request Originates from an Undeclared Automated Tool

[W11, Python3] Attempting to retrieve SEC filings from sec.gov using their API, and getting this error no matter what I do. Following the example provided here, including headers: https://www.sec.gov/...
kmiklas's user avatar
  • 13.5k
0votes
0answers
33views

HTTPKerberosAuth with keytab fails on Windows

The following code works fine on Unix (FreeBSD-14 and RHEL7) with Keytab specified as a local path to the file, and Principal being either None or the principal found in the keytab: import requests ...
Mikhail T.'s user avatar
0votes
0answers
18views

InvalidCAError when fetching AIA certificate chain using python aia library

We have a requirement to upload a file over https. We use the Python requests library, which works for most servers. For some, which use an intermediary certificate signed by DigiCert Global G2 TLS ...
Pramod's user avatar
0votes
0answers
50views

Using the free-proxy library with requests to access general https websites

When basically requesting a proxy, what happens is that it delivers an http that currently seems to me to be unusable because the vast majority of sites use https and this causes the request to be ...
Digital Farmer's user avatar

153050per page
close