Python Forum
Need alittle hlpl with an image scraper.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need alittle hlpl with an image scraper.
#7
So, as I can see mechanize is used just to retrieve the web page. If the page is not build with JavaScript you don't need mechanize. Use requests module instead. 
Or replace mechanize with selenium

Also, you never call grab_my_pictures() function. I don't see where requests.get(final_link) gets the web address from either.

Are you sure this is the full script?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Need alittle hlpl with an image scraper. - by wavic - Dec-23-2016, 10:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web scraper tomenzo123 8 4,627 Aug-18-2023, 12:45 PM
Last Post: Gaurav_Kumar
  Web scraper not populating .txt with scraped data BlackHeart 5 1,667 Apr-03-2023, 05:12 PM
Last Post: snippsat
  Image Scraper (beautifulsoup), stopped working, need to help see why woodmister 9 4,264 Jan-12-2021, 04:10 PM
Last Post: woodmister
  Court Opinion Scraper in Python w/ BS4 (Currently exports to CSV) need help with SQL MidnightDreamer 4 3,132 Mar-12-2020, 09:57 AM
Last Post: BrandonKastning
  Python using BS scraper paulfearn100 1 2,638 Feb-07-2020, 10:22 PM
Last Post: snippsat
  web scraper using pathlib Larz60+ 1 3,280 Oct-16-2017, 05:27 PM
Last Post: Larz60+
  Made a very simple email grabber(scraper) Blue Dog 4 7,031 Dec-13-2016, 06:25 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020