Put simple Spintax in a field ?

Vanlou

Новичок
Регистрация
09.11.2020
Сообщения
21
Благодарностей
3
Баллы
3
Hello,

I've did something that works great, but I'm wondering if there is a much simple (and quick) solution to do it with 2 blocs.

I did a spintax in order to put several different referers.
I did a Goto bloc with the Variable.referers in order to get the spinned text.

It's not possible to use spintax directly isn't it ?

Thank you :D
 

Вложения

  • 30,5 КБ Просмотры: 59
  • 104,2 КБ Просмотры: 56

Ilshakin

Client
Регистрация
14.02.2017
Сообщения
631
Благодарностей
543
Баллы
93
Not sure if I understood your question correctly

C#:
instance.ClearCookie();

var referer = (Macros.TextProcessing.Spintax("{https://google.com|https://google.co.uk|https://google.de}")); //whrite more refferers if u need
Tab tab = instance.ActiveTab;
if ((tab.IsVoid) || (tab.IsNull)) return -1;
if (tab.IsBusy) tab.WaitDownloading();
tab.Navigate("https://www.whatismyreferer.com/", referer);
if (tab.IsBusy) tab.WaitDownloading();
 
  • Спасибо
Реакции: Vanlou

Aronax

Client
Регистрация
29.01.2015
Сообщения
201
Благодарностей
59
Баллы
28
So you want to use spintax directly in the Go To block? Why not just try and see what happens? : D
To be honest, I have no idea if it works or not, but you could test it as it takes only 1 minute to edit the Go To block and click on the play button. But your initial solution is also quite simple and efficient...
 
  • Спасибо
Реакции: Vanlou

Vanlou

Новичок
Регистрация
09.11.2020
Сообщения
21
Благодарностей
3
Баллы
3
Thank you for the C# code Ilshakin :D !
I'm not very good with C# at this moment but it's like Regex, I need to practice much more :-) Thank you for your code.

Aronax, heyhey, I've tried to directly put spintax in the GoTo bloc but it's not working.
Because I've work on several SEO software before, I thought it would be integrated in Zenno. But there should be a reason why not, I'm sure. No problem I will use the Spintax bloc before when I need spintax :D !
 

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