Commit Graph

2199 Commits

Author SHA1 Message Date
Gergő Móricz
740a429790 feat(api): graceful shutdown for less 502 errors 2024-11-12 18:10:24 +01:00
Gergő Móricz
c327d688a6 fix(queue-worker): don't log timeouts 2024-11-12 18:10:11 +01:00
Gergő Móricz
9f8b8c190f feat(scrapeURL): log URL for easy searching 2024-11-12 17:54:48 +01:00
Gergő Móricz
e95b6656fa fix(scrapeURL): don't log fetch request 2024-11-12 17:53:44 +01:00
Gergő Móricz
f42740a109 fix(scrapeURL): don't log engineResult 2024-11-12 17:52:32 +01:00
Móricz Gergő
3815d24628 fix(scrape): better timeout handling 2024-11-12 13:16:40 +01:00
Móricz Gergő
aa9a47bce7 fix(queue-worker): logging job on batch scrape error 2024-11-12 13:00:19 +01:00
Móricz Gergő
91f52287db feat(batchScrape): handle timeout 2024-11-12 12:42:39 +01:00
Móricz Gergő
f6db9f1428 fix(crawl-redis): batch scrape lockURL
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
2024-11-12 11:52:34 +01:00
Gergő Móricz
d8bb1f68c6 fix(tests): maxDepth tests
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
2024-11-11 22:10:19 +01:00
Gergő Móricz
68c9615f2d fix(crawl/maxDepth): fix maxDepth behaviour 2024-11-11 22:02:17 +01:00
Nicolas
7d576d13bf Update package.json 2024-11-11 15:42:10 -05:00
Gergő Móricz
a8dc75f762
feat(crawl): add parameter to treat differing query parameters as different URLs (#892)
* add parameter to crawleroptions

* add code to make it work
2024-11-11 21:36:22 +01:00
Gergő Móricz
5cb46dc494 fix(html-to-markdown): build error 2024-11-11 21:09:27 +01:00
Gergő Móricz
2ca22659d3 fix(scrapeURL/llmExtract): fix schema-less LLM extract 2024-11-11 21:07:37 +01:00
Gergő Móricz
56bebc8107 fix(html-to-markdown): reduce logging frequency 2024-11-11 20:53:21 +01:00
Gergő Móricz
d13a2e7d26 fix(scrapeURL): reduce logs 2024-11-11 20:51:45 +01:00
Nicolas
219f4732a0
Merge pull request #881 from mendableai/fix/scroll-action
[BUG] fixes scroll action
2024-11-11 14:50:08 -05:00
Nicolas
ddbf3e45a3
Update package.json 2024-11-11 14:49:50 -05:00
Nicolas
766377621e
Merge pull request #880 from mendableai/python-sdk/next-handler
[SDK] Added next handler for python sdk (js is ok)
2024-11-11 14:48:30 -05:00
Nicolas
9688bad60d
Update __init__.py 2024-11-11 14:48:11 -05:00
Nicolas
56a1ac07a4
Merge pull request #878 from mendableai/mog/deduplicate-urls
feat(crawl): Similar URL deduplication
2024-11-11 14:33:13 -05:00
Gergő Móricz
8e4e49e471 feat(generateURLPermutations): add tests 2024-11-11 20:29:17 +01:00
rafaelmmiller
e241871b43 fixed scroll action on js sdk 2024-11-11 10:36:02 -03:00
Móricz Gergő
f097cddf23 feat(scrapeURL/fire-engine): adjust timeout for waitFor/wait actions
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
2024-11-11 11:43:59 +01:00
Móricz Gergő
e97864b806 fix(scrapeURL/llmExtract): better schema normalization 2024-11-11 10:55:45 +01:00
Móricz Gergő
1c55ce41be feat(ci): add sentry auth token to builds 2024-11-11 10:32:17 +01:00
Móricz Gergő
49df553768 fix(scrapeURL, logger): remove buggy ArrayTransport that causes memory leak 2024-11-11 10:27:55 +01:00
Nicolas
84ad45c01f
Merge pull request #872 from mendableai/nsc/exec-js
Some checks failed
Deploy Images to GHCR / push-app-image (push) Has been cancelled
Exec js - actions
2024-11-08 22:02:01 -05:00
Gergő Móricz
628a98d594 fix(scrapeURL): only retain ArrayTransport in testing
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
Caused OOM issues in production.
2024-11-08 23:12:17 +01:00
rafaelmmiller
eac3714c12 fixes scroll action 2024-11-08 17:40:45 -03:00
Móricz Gergő
085ac3e71c debug: worker stall check 2024-11-08 20:19:44 +01:00
rafaelmmiller
27c5a93f4e added next handler for python sdk (js is ok) 2024-11-08 15:39:38 -03:00
Gergő Móricz
ef505f8d99 feat(scrapeURL/fire-engine): adjust timeout tuning
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
2024-11-08 17:24:19 +01:00
Gergő Móricz
1acef8e49b fix: converter missing 2024-11-08 17:11:22 +01:00
Gergő Móricz
b8a6fb3524 fix(scrapeURL/checkStatus): bad handling of f-e under load 2024-11-08 16:29:56 +01:00
Gergő Móricz
dc3a4e27fd move param to the right place 2024-11-08 16:25:11 +01:00
Gergő Móricz
6ecf24b85e feat(crawl): URL deduplication 2024-11-08 16:22:06 +01:00
Gergő Móricz
25e94ffd28 fix(scrapeURL): do not submit LLM schema errors to Sentry
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
2024-11-07 23:21:07 +01:00
Gergő Móricz
a297c99ba8 fix(scrapeURL): error displaying 2024-11-07 23:18:24 +01:00
Gergő Móricz
79cadcb769 fix(scrapeURL/llmExtract): fill in required field as well 2024-11-07 22:48:57 +01:00
Gergő Móricz
0588f340c3 fix(scrapeURL/llmExtract): array schema fix 2024-11-07 22:46:59 +01:00
Gergő Móricz
552d55c8fc fix(scrapeURL): includeTags/excludeTags 2024-11-07 21:10:27 +01: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
7500ebe4c6 Nick: exec js actions 2024-11-06 11:56:23 -05:00
Eric Ciarla
ed5a0d3cf2 Update readme and examples
Some checks failed
Deploy Images to GHCR / push-app-image (push) Has been cancelled
2024-11-05 18:06:40 -05:00
Eric Ciarla
71e512b80f predicted-outputs 2024-11-05 16:16:24 -05:00
Nicolas
75b48dced3
Merge pull request #849 from swyxio/patch-1
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run
Update CONTRIBUTING.md
2024-11-05 13:30:41 -05:00
Nicolas
56179924e6 Merge branch 'main' of https://github.com/mendableai/firecrawl 2024-11-05 13:08:02 -05:00
Nicolas
3cd1c4260d Update rate-limiter.ts 2024-11-05 13:08:01 -05:00