Улучшение [1.2.56] Добавить переменную в которой хранится предыдущий запрос

Добавлен query.prev - показывает запрос на предыдущем уровне, работает для HTML::LinkExtractor, tools.query.add и JS парсеров(this.query.add)
Для примера теперь можно легко отобразить с какой страницы была ссылка на текущую при парсинге ссылок в глубину:

ggbk7.png


Результат:
Код:
0:  -> https://trello.com
1: https://trello.com -> https://trello.com/about
1: https://trello.com -> https://trello.com/signup?returnUrl=%2F
1: https://trello.com -> https://trello.com/teams
2: https://trello.com/about -> https://trello.com/about/branding
1: https://trello.com -> https://trello.com/pricing
1: https://trello.com -> https://trello.com/platforms
2: https://trello.com/teams -> https://trello.com/teams/engineering
...
 
Назад
Верх