I coded this up for basically my specific use case, but hopefully it works for someone else.
When you are solely looking for Guitar Pro files, they seem to make the process as tough as possible- decoy versions for their own subpar services, forcing you to scroll through the entire score of a song even if you have already clicked the link for the GP version. If you've used UG over the years you know how annoying it's come to be.