Commit Graph

17 Commits

Author SHA1 Message Date
Gergő Móricz
8d467c8ca7
WebScraper refactor into scrapeURL (#714)
* feat: use strictNullChecking

* feat: switch logger to Winston

* feat(scrapeURL): first batch

* fix(scrapeURL): error swallow

* fix(scrapeURL): add timeout to EngineResultsTracker

* fix(scrapeURL): report unexpected error to sentry

* chore: remove unused modules

* feat(transfomers/coerce): warn when a format's response is missing

* feat(scrapeURL): feature flag priorities, engine quality sorting, PDF and DOCX support

* (add note)

* feat(scrapeURL): wip readme

* feat(scrapeURL): LLM extract

* feat(scrapeURL): better warnings

* fix(scrapeURL/engines/fire-engine;playwright): fix screenshot

* feat(scrapeURL): add forceEngine internal option

* feat(scrapeURL/engines): scrapingbee

* feat(scrapeURL/transformars): uploadScreenshot

* feat(scrapeURL): more intense tests

* bunch of stuff

* get rid of WebScraper (mostly)

* adapt batch scrape

* add staging deploy workflow

* fix yaml

* fix logger issues

* fix v1 test schema

* feat(scrapeURL/fire-engine/chrome-cdp): remove wait inserts on actions

* scrapeURL: v0 backwards compat

* logger fixes

* feat(scrapeurl): v0 returnOnlyUrls support

* fix(scrapeURL/v0): URL leniency

* fix(batch-scrape): ts non-nullable

* fix(scrapeURL/fire-engine/chromecdp): fix wait action

* fix(logger): remove error debug key

* feat(requests.http): use dotenv expression

* fix(scrapeURL/extractMetadata): extract custom metadata

* fix crawl option conversion

* feat(scrapeURL): Add retry logic to robustFetch

* fix(scrapeURL): crawl stuff

* fix(scrapeURL): LLM extract

* fix(scrapeURL/v0): search fix

* fix(tests/v0): grant larger response size to v0 crawl status

* feat(scrapeURL): basic fetch engine

* feat(scrapeURL): playwright engine

* feat(scrapeURL): add url-specific parameters

* Update readme and examples

* added e2e tests for most parameters. Still a few actions, location and iframes to be done.

* fixed type

* Nick:

* Update scrape.ts

* Update index.ts

* added actions and base64 check

* Nick: skipTls feature flag?

* 403

* todo

* todo

* fixes

* yeet headers from url specific params

* add warning when final engine has feature deficit

* expose engine results tracker for ScrapeEvents implementation

* ingest scrape events

* fixed some tests

* comment

* Update index.test.ts

* fixed rawHtml

* Update index.test.ts

* update comments

* move geolocation to global f-e option, fix removeBase64Images

* Nick:

* trim url-specific params

* Update index.ts

---------

Co-authored-by: Eric Ciarla <ericciarla@yahoo.com>
Co-authored-by: rafaelmmiller <8574157+rafaelmmiller@users.noreply.github.com>
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
2024-11-07 20:57:33 +01:00
rafaelsideguide
7561bfe173 added envs to github action workflows 2024-09-05 12:59:32 -03:00
Nicolas
28c5635502 Update ci.yml 2024-09-04 16:45:56 -03:00
rafaelsideguide
3c1af0aa33 Update ci.yml 2024-06-18 11:03:57 -03:00
Nicolas
2e264a4c75 Update ci.yml 2024-05-21 13:24:09 -07:00
Eric Ciarla
caf3f9eede Add Posthog Logging 2024-05-02 15:30:22 -04:00
Nicolas
52620bab16 Nick: prod and local-no-auth tests 2024-04-21 11:39:36 -07:00
rafaelsideguide
7049780426 adding all tests 2024-04-18 17:47:15 -03:00
rafaelsideguide
4018d7ca17 fixing workflow 2024-04-18 17:35:00 -03:00
rafaelsideguide
4f1179db99 fixing workflow 2024-04-18 17:32:28 -03:00
rafaelsideguide
ca8c8b87dc fixing workflow 2024-04-18 17:29:06 -03:00
rafaelsideguide
efbb4e8905 fixing jest parameters 2024-04-18 17:18:15 -03:00
rafaelsideguide
dae024adc1 fixing env position 2024-04-18 17:08:48 -03:00
rafaelsideguide
2ca00d8186 adding openHandlesTimeout 2024-04-18 17:03:52 -03:00
rafaelsideguide
dcccfab4cd adding other env secrets 2024-04-18 16:55:49 -03:00
rafaelsideguide
d7c797d0f3 adding env secrets 2024-04-18 16:49:31 -03:00
rafaelsideguide
42de846013 adding workflow 2024-04-18 16:41:15 -03:00