Hello,
Is there any way to use a field from input connection for the python tool? I'm using a python tool for web scraping. Currently, I'm directly embedding a URL in the python tool to scrape. However, I would like to dynamically scrape multiple pages on the website.
I tried to read the connected tool:
data = Alteryx.read("#1")
Alteryx.read(Alteryx.getIncomingConnectionNames()[0])
data_url = data['file']
wd = webdriver.Chrome("C:/Program Files/Alteryx/bin/Plugins/chromedriver.exe")
wd.get(data_url)
However, data_url is an "object" not a "string". wd.get(data_url) command gives an error message: # For dynamically generated websites wait for a specific ID tag.