Skip to content
Advertisement

Tag: python-requests

Get the desired table from the site

There is a link to a site with a schedule. On the page there are 3 elements <select>: Institute (faculty), course, group. How to get the desired table through Requests? I tried Post and Get, unsuccessfully. Maybe Requests will not help here at all, and it is better to try Selenium? Answer You can use BeautifulSoup to parse the elements:

Connection timeouts as a protection from site scraping?

I am new to Python and Web scraping but it’s been two weeks that I periodically scrape one website and successfully download images from it. I use different proxies and sometimes change them. But starting yesterday all my proxies suddenly stopped working with a timeout error. I’ve tried a whole list of them and all fail. Could this be a

How to add optional parameters in REST API?

I am using the following REST API: https://rest.ensembl.org/documentation/info/vep_hgvs_get An example of the code for this is as follows: On the documentation page, it says it has an optional parameter as follows: Name Description Example Values dbNSFP Include fields from dbNSFP, a database of pathogenicity predictions for missense variants. Multiple fields should be separated by commas. See dbNSFP README for field

How to call the CITES species+ api in python?

I am trying to access the cites species api to get information on a input species name. Reference document: http://api.speciesplus.net/documentation/v1/references.html I tried to use the api with the provided API Key. I get error code 401. Here is the code Answer As @jonrsharpe said in comment: You have to set APIKEY as header – don’t put it in URL. You

Advertisement