Arag / scratch_test.py
AuthorBot
Ship B&N scraper refinements, platform backtest results, and project docs.
ab760e4
Raw
History Blame Contribute Delete
332 Bytes
import asyncio
import json
from app.services.book_url_scraper import scrape_book_url
async def main():
url = "https://www.barnesandnoble.com/w/judge-stone-james-patterson/1148464105?ean=9780316601696"
res = await scrape_book_url(url)
print(json.dumps(res, indent=2))
if __name__ == "__main__":
asyncio.run(main())