switched from selenium to smart guessing of pdf urls