Trouble Scraping Image URLs from a Webpage
I’m attempting to scrape image URLs from a webpage using BeautifulSoup and requests in Python. The webpage I’m targeting is the Minecraft wiki page for blocks. However, I’m encountering an “IndentationError: unexpected indent” at line 35, which is for img_tag in soup.find_all(‘img’, class_=’mw-file-element’):. I’m not sure what’s causing this issue. Can anyone help me identify and resolve the problem?
identifying weather websites for legal data scraping with Python regarding Terms of Service
I am trying to find a weather website where I can scrape data legally regarding Tunisia’s weather, historically. I am having trouble identifying websites whose Terms of Service allow this. I have researched ToS and read through that for various websites, but it remains unclear to me which have data I can use. The data itself is publically available, but it is the ToS that concerns me.