web-scraping-language

Webscraping question in python using Selenium

Webscraping question in python using Selenium Question: I am trying to scrape using selenium in python. I want the solar data from this site and section: https://www.caiso.com/TodaysOutlook/Pages/supply.html#section-renewables-trend I think the problem I’m having is that the Chart data (CSV) menu option does not function as a button so clicking it doesn’t work. This is what …

Total answers: 2

MissingSchema: Invalid URL 'h': No schema supplied. Perhaps you meant http://h?

MissingSchema: Invalid URL 'h': No schema supplied. Perhaps you meant http://h? Question: I have been trying to scrape addresses and Phone numbers from google for different business names, my code works fine when I give a URL, it fetches the required info. But when I tried to loop I’m getting the below error. MissingSchema: Invalid …

Total answers: 1

Python: How to iterate through a list of Twitter users using Snscrape?

How to iterate through a list of Twitter users using Snscrape? Question: I trying to retrieve tweets over a list of users, however in the snscrape function this argument is inside quotes, which makes the username to be taken as a fixed input import snscrape.modules.twitter as sntwitter tweets_list1 = [] users_name = [{‘username’:’@bbcmundo’},{‘username’:’@nytimes’}] for i,tweet …

Total answers: 2