pyspark: How to run selenium in UDF
Hi all, I am building a webscraper to get prices of certain EAN's from the amazon website. Therefore I use selenium to get the product links. I wrote te following function to get the productlinks based on a EAN: def getProductLinkAmazonPY(EAN): st...
- 1606 Views
- 1 replies
- 0 kudos
Latest Reply
UDF functions are serialized and then executed on executors. I don't think it will be possible with Selenium.
- 0 kudos