How To Pass Variable in List File Path Name?

Maroso

Client
Регистрация
31.07.2013
Сообщения
23
Благодарностей
2
Баллы
3
I have a multi level scraping project and a I want to save each level data to a file. For easier template building I chose to create a variable with each level of scraping and after that pass that variable to list file path.

Problem is that zenno doesn't save the files with variable for level. The only way to accomplish this is by saving scraping data to a file directly and there we can process the variable in file name but we can't use the list remove duplicate lines and filtering using regex.

Any suggestion?

I uploaded the template for more info
 

Вложения

Maroso

Client
Регистрация
31.07.2013
Сообщения
23
Благодарностей
2
Баллы
3
PS: test was done in project maker with zenno version v.5.12.0.0
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 272
Благодарностей
5 856
Баллы
113
When you set Load list from file in list settings, list binds to file at project start and will be kept during whole project.
If you would like to dynamically save list to file in your project, you should use List processing>Save to file operation.
It goes like this:
 

Вложения

  • Спасибо
Реакции: Maroso

Maroso

Client
Регистрация
31.07.2013
Сообщения
23
Благодарностей
2
Баллы
3
Nice and smart way to do it, thanks again @VladZen , works perfectly
 
  • Спасибо
Реакции: VladZen

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