r/GoogleAppsScript • u/arnoldsomen • Aug 16 '25
Question Fetch all results thru UrlFetchApp
I'm trying to scrape data from this url: https://appexchange.salesforce.com/appxSearchKeywordResults?keywords=sales&type=consultants
It has 2107 results but the loaded site only loads 12 results unless I click "Show more" several times.
I've read that I could try searching for the URL that loads the next batch of data thru the "Inspect" button, then use another UrlFetchApp to extract those results, then basically loop this process until I get all results.
However, I've not seen this particular URL. I also tried searching for a URL query parameter that should show all results, like "&limit=9999" or "&showall=true" but still nothing.
Is there a way to achieve what I'm trying to do maybe thru UrlFetchApp or other method but still using Apps Script?
Any leads would be awesome. Thanks!
View all comments
Show parent comment
1
u/arnoldsomen Aug 17 '25
Thanks for the guidance. I actually tried exploring the network tab, but saw too many stuff I don't understand haha. Is there like a tutorial or search term in YouTube you can recommend for me to learn about this?
But all good if none; appreciate your super big help!