I have an issue where different websites require different types of QuerySelector (i.e. getelementsbyclassname, getelementsbytagname, querySelectorAll, etc.) in the loop to be able to return a result.
As it stands, this code WORKS to retrieve the website information if I use a hard-coded FIX SELECTOR at the line of "Set list = html.querySelectorAll(ID)" but it DOESN'T WORK if I try to make it VARIABLE based on the sheet row attributed query.name in the loop.
I'm not sure if this is simply assigning the correct variable-type but I just don't know how to handle making this part work...
Any help would be greatly appreciated!
Bookmarks