I have this URL and I just want to get a part of it:
The part I want to obtain is the id: 1024374 to then enter it in this other url:
I explain a little to clear up doubts. With selenium I am redirected to the first URL. Here I want to get the ID of the url. I thought I would do it with
driver.current_url but I get the whole url. Then I need the ID that I get to enter the second url where the ID goes.
Working with Python 2.7