Skip to content

Avito.ru #59

May 13, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote
{"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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kamui-Solo
Comment options

@darkred
Comment options

@Kamui-Solo
Comment options

Answer selected by darkred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants