-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitemap templates #149
base: master
Are you sure you want to change the base?
Sitemap templates #149
Conversation
src/_locales/ru/messages.json
Outdated
@@ -412,5 +412,8 @@ | |||
}, | |||
"popup_ws_version": { | |||
"message": "Версия Web Scraper: " | |||
}, | |||
"sitemap_template_create_nav_button": { | |||
"message": "Load news template" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
en text in ru message
src/devtools/views/Viewport.html
Outdated
@@ -80,6 +80,12 @@ | |||
data-i18n="create_sitemap_create_nav_button" | |||
></a> | |||
</li> | |||
<li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move it after load map button
"selectors": [ | ||
{ | ||
"id": "news_link", | ||
"selector": "h3 a", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fill in all the selectors with the inscription "Enter_a_selector"
"multiple": true, | ||
"extractAttribute": "href", | ||
"parentSelectors": ["0"], | ||
"delay": "15000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove delay from all selectors
Шаблоны карт обхода для ускорения разметки сайтов. Пока есть только один простой новостной шаблон, но в дальнейшем можно добавить больше(шаблон с кликом на элемент и прокруткой например)