All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.platon.pulsar.examples.sites.topEc.english.amazon.AmazonCrawler.kt Maven / Gradle / Ivy

The newest version!
package ai.platon.pulsar.examples.sites.topEc.english.amazon

import ai.platon.pulsar.skeleton.context.PulsarContexts

fun main() = PulsarContexts.createSession().scrapeOutPages(
    "https://www.amazon.com/Best-Sellers/zgbs",
    "-outLink a[href~=/dp/]",
    mapOf("title" to "#title", "ratings" to "#acrCustomerReviewText")
).let { println(it) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy