firecrawl 1.13.1__tar.gz → 1.13.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of firecrawl might be problematic. Click here for more details.
- {firecrawl-1.13.1 → firecrawl-1.13.2}/PKG-INFO +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/__init__.py +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/firecrawl.py +9 -2
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl.egg-info/PKG-INFO +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.2}/LICENSE +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/README.md +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/__tests__/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/__tests__/e2e_withAuth/test.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/__tests__/v1/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl/__tests__/v1/e2e_withAuth/test.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl.egg-info/SOURCES.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl.egg-info/dependency_links.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl.egg-info/requires.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/firecrawl.egg-info/top_level.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/pyproject.toml +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/setup.cfg +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.2}/setup.py +0 -0
|
@@ -1128,16 +1128,23 @@ class FirecrawlApp:
|
|
|
1128
1128
|
return response
|
|
1129
1129
|
|
|
1130
1130
|
job_id = response['id']
|
|
1131
|
+
last_activity_count = 0
|
|
1132
|
+
last_source_count = 0
|
|
1133
|
+
|
|
1131
1134
|
while True:
|
|
1132
1135
|
status = self.check_deep_research_status(job_id)
|
|
1133
1136
|
|
|
1134
1137
|
if on_activity and 'activities' in status:
|
|
1135
|
-
|
|
1138
|
+
new_activities = status['activities'][last_activity_count:]
|
|
1139
|
+
for activity in new_activities:
|
|
1136
1140
|
on_activity(activity)
|
|
1141
|
+
last_activity_count = len(status['activities'])
|
|
1137
1142
|
|
|
1138
1143
|
if on_source and 'sources' in status:
|
|
1139
|
-
|
|
1144
|
+
new_sources = status['sources'][last_source_count:]
|
|
1145
|
+
for source in new_sources:
|
|
1140
1146
|
on_source(source)
|
|
1147
|
+
last_source_count = len(status['sources'])
|
|
1141
1148
|
|
|
1142
1149
|
if status['status'] == 'completed':
|
|
1143
1150
|
return status
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|