I am scraping this website Click here here is button in each record that use java-script to open Spotify page. I want to get URL of that Spotify page using python. I used Selenium and Beautiful-soup for scraping other content but i can not find way to scrap that url. Please any one can tell me how to do that.
Edited:
I am trying this.
browser1.find_element_by_xpath('/html/body/div[1]/div[3]/div/div/div[1]/div/div[3]/button').click()
link = '{}'.format(browser1.current_url)
browser1.back()
First i click button go to that page and then get url and then come back to main web page. Its taking lots of Because when it come back to orginal web site its on first page then i have to go to that page number that i am scraping.