I am currently using Selenium to open and retrieve the page source of a list of urls. However Selenium is taking way too long for each url and I plan on using this script for (atleast) a couple of hundred urls. Can anyone suggest a faster method of getting the page source given a url (using php maybe?)?
Please include the code of your suggestion. Thanks in advance.
browser.get(url)
body = browser.page_source