Using the [login to view URL] Chrome extension, I'm trying to limit the amount of images extracted from a page to 6. I got advice from the forum.
I modified the selector but it didn't work, can you find a solution for this problem?
See attachment for info.
"Hi, yes, it is possible to limit the number of extractable images to 6 by using the jQuery selector ':nth-of-type', more specifically - div[data-testid="page"] > div > div:nth-of-type(-n+6) div[data-testid="thumbnail"] img"
Sitemap:
{"_id":"music_shop_yelp_test","startUrl":["[login to view URL]"],"selectors":[{"id":"links","multiple":true,"parentSelectors":["_root"],"selector":".css-1egxyvc a","type":"SelectorLink"},{"id":"business-page-wrapper","multiple":true,"parentSelectors":["links"],"selector":"html:has(div[data-hypernova-key*=\"BizDetails\"]):has(h1)","type":"SelectorElement"},{"clickElementSelector":"div[class*=\"photo-header-content-container\"] a:contains(\"photos\")","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"photo-click","multiple":true,"parentSelectors":["business-page-wrapper"],"selector":"div[data-testid=\"page\"]","type":"SelectorElementClick"},{"extractAttribute":"src","id":"images","parentSelectors":["business-page-wrapper"],"selector":"div[data-testid=\"thumbnail\"] img","type":"SelectorGroup"},{"id":"name","multiple":false,"parentSelectors":["business-page-wrapper"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"address","multiple":false,"parentSelectors":["business-page-wrapper"],"regex":"","selector":"p.css-qyp8bo","type":"SelectorText"}]}
Page:
[login to view URL]
On the left same page you will see an address with a map & an opening times table. I just want the address text & the table, I had to grab the address on the right under "Directions".
Hello,
I have the skill to execute all visual designs from concept to finalized engineering in a good amount of time. I have experience in web engineering, web designing, web content development, client/server-side scripting, web server, and network security configuration, e-commerce development, and so on.
I consider myself a perfect match for this job because I am working as a Web Developer for the last four years.
I have learned almost all the languages such as HTML, CSS, JS, PHP, ASP, JSP, etc., and gathered some excellent skills in Web Developing.
I am available 24/7 online. You can find me on Skype, Facebook, and call/message. I will be available and ready to assist you with your project.
Regards