How can I add a variable as part of a URL?

mego818

Client
Регистрация
19.07.2012
Сообщения
10
Благодарностей
1
Баллы
3
OK, I am making a template that adds entries to a blacklist and every 10,000 entries it presses SAVE and opens the blacklist again and adds more entries. After, it presses SAVE, I need it to open the exact list it was working on. Currently it is checking for:

https: // www \ .plugrush \ .com / wblists / edit / 41678 \? r

41678 is the list # . As you can imagine, it is opening the same list every time (41678-). This is not what I need. I need it to check presence of the list # before it presses SAVE, then add the list # to the URL it will visit in the next step.I can use this to grab the list # and add it to a the variable {-Variable.listnumber-}:

(? <= <H1 \ id = ""> Edit \ List \ \ #). *? (? = </ H1>)


How can I make it so that I can now append this variable to a URL in the next step. Such as:

https: // www \ .plugrush \ .com / wblists / edit / {-Variable.listnumber-}


Thank You !!
 

mego818

Client
Регистрация
19.07.2012
Сообщения
10
Благодарностей
1
Баллы
3
Actually, you can ignore my previous question because I figured it out. All I needed to do was make it go to a new URL and paste the variable in the URL.

I have another question though. How can I grab this text and put it in a variable? Edit List #41845
This is the HTML: <h1>Edit List #41845</h1>

I tried the regex line in my first post but it didn't work.

 

mego818

Client
Регистрация
19.07.2012
Сообщения
10
Благодарностей
1
Баллы
3
I only need to grab 41845
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)