Commit Graph

43 Commits

Author SHA1 Message Date
Nicolas 52f2e733e2 Nick: fixes 2024-12-11 19:48:22 -03:00
Nicolas 00335e2ba9 Nick: fixed prettier 2024-12-11 19:46:11 -03:00
Nicolas d817aa744f Update v1.ts 2024-11-24 19:46:31 -08:00
Nicolas 93e106d321 Update v0.ts 2024-11-20 16:43:02 -08:00
Nicolas a4f15260a7 Nick: 2024-11-12 12:23:24 -05:00
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
Nicolas d8abd15716 Nick: from bulk to batch 2024-10-23 15:37:24 -03:00
Gergő Móricz 70c4e7c334 feat(bulk/scrape): check credits via url list length 2024-10-23 19:42:02 +02:00
Nicolas 66e505317e Merge branch 'main' into mog/bulk-scrape 2024-10-23 14:36:26 -03:00
Gergő Móricz 6ed3104eb6 feat: clear ACUC cache endpoint based on team ID 2024-10-22 20:28:10 +02:00
Nicolas 79e65f31ef Update v1.ts 2024-10-17 17:57:44 -03:00
Gergő Móricz 03b37998fd feat: bulk scrape 2024-10-17 19:40:18 +02:00
Nicolas 18f9cd09e1 Nick: fixed more stuff 2024-10-01 16:04:39 -03:00
Nicolas 8d44cb33bb Nick: fixed error message 2024-09-26 22:15:15 +02:00
Gergő Móricz f8c70fe5dd feat(db): implement auth_credit_usage_chunk RPC 2024-09-26 22:15:15 +02:00
Gergő Móricz 3e661a2087 fix(v1/crawl-cancel): avoid double authing 2024-09-24 20:01:34 +02:00
Gergo Moricz b4dbf75537 fix(v1): check if url is string in blocklistMiddleware
Fixes FIRECRAWL-SCRAPER-JS-9Z
2024-09-10 10:25:14 +02:00
rafaelsideguide ad950a6c9d fixed controller res and tests 2024-09-04 11:29:32 -03:00
Nicolas 8431be5826 Nick: 2024-08-31 14:23:55 -03:00
Nicolas 170a8ebfe5 Nick: 2024-08-27 11:58:42 -03:00
rafaelsideguide 1ef41b92a0 feat: cancel
v0 implementation + e2e test
2024-08-27 09:42:55 -03:00
Nicolas 7d93eab0f8 Nick: 2024-08-26 18:48:00 -03:00
Nicolas 4d0acc9722 Merge branch 'main' into v1-webscraper 2024-08-26 16:22:05 -03:00
Nicolas 173f4ee1bf Nick: chrome cdp main | simple autoscaler 2024-08-23 20:09:59 -03:00
Gergő Móricz eea530e0ad feat(v1): update for sentry 2024-08-23 17:29:42 +02:00
Nicolas b36faeaf54 Nick: 2024-08-20 14:39:52 -03:00
Nicolas 27903247b6 Nick: map tests and fixes 2024-08-20 12:04:08 -03:00
rafaelsideguide fd7fdc1d52 added blocklist middleware 2024-08-19 13:28:54 -03:00
Gergő Móricz eb84673b06 feat: crawl status websocket WIP 2024-08-17 01:04:14 +02:00
Gergő Móricz e2a6ef26d3 mount v1Router under v1 path 2024-08-16 23:48:50 +02:00
Gergő Móricz f20328bdbb crawl status and document stuff 2024-08-16 22:48:05 +02:00
Gergő Móricz 8b7569f8f3 add zod, create middleware, update openapi declaration, add crawl logic 2024-08-15 23:30:33 +02:00
Gergő Móricz 4165de1773 v1 restructure 2024-08-15 21:51:59 +02:00
rafaelsideguide 6cdf4c68ec wip: map, crawl, scrape mockups 2024-08-06 15:24:45 -03:00
Nicolas 0c2e3a72cc Merge pull request #460 from mendableai/nsc/admin-router
Admin router + Improve redis notifications
2024-07-26 12:16:14 -04:00
Nicolas 7129d7993e Update v0.ts 2024-07-25 17:19:45 -04:00
Nicolas 28a8a98491 Update admin.ts 2024-07-25 14:58:14 -04:00
Nicolas 2014d9dd2e Nick: admin router 2024-07-25 14:54:20 -04:00
Jakob Stadlhuber be9e7f9edf Update Kubernetes configs for playwright-service, api, and worker
Added new ConfigMap for playwright-service and adjusted existing references.
Applied imagePullPolicy: Always to ensure all images are updated promptly.
Updated README to include --no-cache for Docker build instructions.
2024-07-24 18:54:16 +02:00
Eric Ciarla d280bcadf3 Add keyAuth 2024-05-07 13:52:42 -04:00
Nicolas 6d5da358cc Nick: cancel job 2024-05-06 17:16:43 -07:00
Nicolas 0146157876 Nick: mvp 2024-04-23 15:28:32 -07:00
Nicolas 23b2190e5d Nick: 2024-04-20 16:38:05 -07:00