Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Crawl job not stopping and also the token usage has not been changed for quite some time - Firecrawl
F
Firecrawl
•
5mo ago
•
11 replies
Suppa
Crawl job not stopping and also the token usage has not been changed for quite some time
The code
:
import requests
import time
import os
import re
from dotenv import load
_dotenv
load
_dotenv
(
)
FIRE
_CRAWL
_API
_KEY
= os
.getenv
(
"FIRE
_CRAWL
_API
_KEY
"
)
CONFIGURATION
CRAWL
_URL
=
"
https://api.firecrawl.dev/v2/crawl
"
JOB
_STATUS
_URL
=
"
https://api.firecrawl.dev/v2/crawl/status/
"
OUTPUT
_DIR
=
"crawled
data
"
Crawl job parameters
payload
=
{
"url
"
:
"
https://www.fhs.unizg.hr/
"
,
"sitemap
"
:
"include
"
,
"crawlEntireDomain
"
: True
,
"excludePaths
"
:
[
"
.
/en
/
.
"
,
"
.
*news
.
"
,
"
.
news
.
*
"
]
,
"scrapeOptions
"
:
{
"onlyMainContent
"
: True
,
"maxAge
"
: 172800000
,
"parsers
"
:
[
"pdf
"
]
,
"formats
"
:
[
"markdown
"
]
}
}
headers
=
{
"Authorization
"
: f
"Bearer
{FIRE
_CRAWL
_API
_KEY
}
"
,
"Content
-Type
"
:
"application
/json
"
}
START THE CRAWL JOB
print
(
"Starting crawl job
.
.
.
"
)
response
= requests
.post
(CRAWL
_URL
, json
=payload
, headers
=headers
)
Firecrawl
Join
Join builders, developers, users and turn any website into LLM-ready data, enabling developers to power their AI applications with clean, structured information crawled from the web.
15,303
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Crawl job never stopping
F
Firecrawl / ❓┃community-help
10mo ago
crawl job ID not valid
F
Firecrawl / ❓┃community-help
2y ago
No failure reason for crawl job
F
Firecrawl / ❓┃community-help
2y ago
Error during crawl for https://smilecaredentalgroup.com: Error: Crawl job failed or was stopped
F
Firecrawl / ❓┃community-help
2y ago