Questions tagged [urlretrieve]

54 questions
0
votes
0 answers

Unable to download an image via urlretrieve() function

I am on Ubuntu 16.10. I am trying to download an image using urlretrieve() function of python. I am getting the following errors. File "downloadImage.py", line 9, in
-1
votes
1 answer

file retrieving from url python

I keep getting the error message about syntax error. The file is easily downloadable if I use the url in the browser, but I cannot manage to get the data for learning through jupyter by writing the code. Would be good if somebody could help me to…
MariaS
  • 25
  • 6
-1
votes
1 answer

How to Download an image from a website and make a folder and put the image into the folder

These days I am trying to make a code with functions of 1. to download an image from a website 2. to make a folder named after its title 3. and put the image into the newly made folder. FYI, I am considering download many images so I set n for the…
ppooppoo
  • 13
  • 4
-1
votes
1 answer

How can I use a for loop to modify a variable inside a string while I download a list of images using BS?

I am using BeautifulSoup to scrape a page with a table. When I am going to download some images inside that table using a for loop and "urlretrieve", I am not able to give each image a different name, thus the each time an image is downloaded, it…
Diego
  • 386
  • 4
  • 19
-1
votes
1 answer

Accessing Data from a graph on a website using python

I have generally wondering if it is possible to access data displayed on graphs such as these: https://coinmarketcap.com/currencies/bitcoin/ I have looked at the .htm file and other links within this, yet none seem to be containing this. Would…
vrthmy5312
  • 107
  • 3
  • 14
-1
votes
1 answer

NameError: name 'request' is not defined in python 3

I am trying to run the basic feature extraction code from the following site: musicinformationretrieval. When I try to run the following code line: kick_filepaths, snare_filepaths = stanford_mir.download_samples(collection="drum_samples_train") it…
SubodhD
  • 306
  • 5
  • 16
-2
votes
1 answer

How to download this image with Python?

I have a direct link like this: https://picjumbo.com/download/?d=cow.jpg&n=cow&id=1. But I cannot download it using urllib.request.urlretrieve() because when I access this url, the browser will download it automatically.
AXin
  • 23
  • 1
  • 6
-2
votes
1 answer

data from firebase database is not visible into recycler view

I want to retrieve images frm storage to recyclerview but it is not working mFirestore.collection("Users").whereEqualTo("special", s).get().addOnCompleteListener(new OnCompleteListener() { @Override public void…
-2
votes
1 answer

How to save and retrieve pdf annotation using ios swift 3

I just created a web view programatically to load pdf and added YPDrawSignatureView to draw signature in the pdf view.. I cant able to retrieve the drawn signature while reopening again in the web view created using this ref…
BizDev
  • 371
  • 1
  • 4
  • 21
1 2 3
4