Avito.ru #59
Answered
by
darkred
Kamui-Solo
asked this question in
MPIV host rules
Avito.ru
#59
-
Hi, can you help me with rule for russian resale site avito.ru? |
Beta Was this translation helpful? Give feedback.
Answered by
darkred
May 13, 2021
Replies: 1 comment 3 replies
-
{"d": "avito.ru",
"e": "li[class^=\"photo-slider-list-item-\"],img[class^=\"photo-slider-image\"],div[class^=\"photo-slider-item\"]",
"g": "var g = [...doc.querySelectorAll('.gallery-extended-imgs-wrapper > div')].map(_=>({url:_.getAttribute('data-url')})); g.index = Array.prototype.indexOf.call(node.parentNode.children, node); return g",
"s": "return node.closest('a').href"
} I also added it in the repo. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
darkred
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also added it in the repo.