Questions tagged as 'python-requests'

0
answers

Decode json and use proxy on request

I have a proxy api with return in json. Return of the proxy api (example): { "proxy": "170.79.201.54:20183", "ip": "170.79.201.54", "port": "20183", "connectionType": "Residential", "type": "elite", "lastChecked"...
asked by 20.05.2018 / 04:20
1
answer

Error in WEB API with flask

I started my WEB API study trying to create a Pokedex API, when I tried to create the pokemon search function by the number the following error appeared: "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" appPokedex:...
asked by 12.04.2018 / 19:38
1
answer

Extracts data from a website and plays in your web application Flask

What module can I use in flask to get data from an API and plays in my web application in the HTML part     
asked by 10.04.2018 / 03:15
0
answers

Authenticate in site using python

I would like to login to a site, however using a python script. I used lib request import requests from bs4 import BeautifulSoup dados = {'login':'XXX','password':'YYY'} r = requests.post("http://123box.ru/blogs/nagdiel222/slayer-stain-of-min...
asked by 13.04.2018 / 19:25
1
answer

Information about an API in your web application - Flask Python

I'm a beginner in python and I'm venturing into flask because I found learning better than Django. So I apologize for my ignorance of what I'm going to ask, or if my code is wrong, how do I get information from a website API and play a table in...
asked by 09.04.2018 / 03:25
0
answers

Problems to use the library requests

I'm having trouble using the python2 requests library. I have already done the installation and when I run pip install requests I see that it is already installed. Could someone help? Python 2.7.14 (default, Sep 17 2017, 18:50:44) [GCC...
asked by 22.03.2018 / 22:48
0
answers

Downloading over 100 records in Airtable

I'm preparing an APP that takes an Airtable database with python Requests and transforms it into a list. My problem is that I can not get more than 100 records from this database with the request URL. I tried to find a solution in Airtable Ap...
asked by 27.02.2018 / 05:46
0
answers

Scrapy Multiples Requests returning the same information

Hello, I'm trying to extract data, but strangely the return is coming by 2 in 2, ie if I make 6 different requests it returns 6 results but only 3 of them are destined. In the example below the response even though a different request (ncm...
asked by 31.01.2018 / 22:57
0
answers

Problem with Scrapy SplashFormRequest

I'm having a problem with Spash forms requests, using only Scrapy the page loading is done normally, but when I use docker + splash the page does not make the next request. Scrapy: # -*- coding: utf-8 -*- import scrapy class QitestSpider...
asked by 04.02.2018 / 20:23
0
answers

Module requests are imported into IDLE, but not into Thonny (the IDE I use)

I installed the module requests through Terminal with sudo pip3 install requests (I'm using Mac) and I was able to import it through the interactive shell without problems in IDLE. But when I try to import through Thonny's interact...
asked by 07.10.2017 / 00:46