mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-23 21:00:30 +08:00
18 lines
419 B
Python
18 lines
419 B
Python
from amazscraper.class_generator import Generator
|
|
from amazscraper.getter import get_function, scraper
|
|
|
|
values = [
|
|
{
|
|
"title": "title",
|
|
"type": "str",
|
|
"description": "Title of the items"
|
|
}
|
|
]
|
|
|
|
if __name__ == "__main__":
|
|
|
|
generator_instance = Generator(values, 0, "gpt-3.5-turbo")
|
|
|
|
res = generator_instance.invocation(scraper("https://www.mockupworld.co", 4197))
|
|
|
|
print(res) |