pinterest-scraper / api_app.py

Commit History

  1. Fix aspect ratio detection - use container dimensions when image not loaded

    84d0bbf
  2. Speed up API: remove startup install, reduce wait to 800ms, limit scrolls

    d9ddb66
  3. Fix Playwright locator handling - use JavaScript evaluation

    2bb876e
  4. Add aspect ratio filtering (9:16, 16:9, 1:1, 4:5, 3:4, 21:9)

    1f95e87
  5. Return direct Pinterest URLs instead of downloading

    2c644cc
  6. Add static file serving - return image URLs instead of paths

    c419c3c
  7. Fix: Add await for async function call in endpoint

    a9bbfdc
  8. Fix: Use async Playwright for FastAPI compatibility

    effee14
  9. Fix indentation errors in api_app.py

    49472cd
  10. Fix Gradio version + add FastAPI version for API usage

    b8eeffc