File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,16 @@ content-type: application/json
46
46
@batchScrapeId = {{batchScrape.response.body.$.id}}
47
47
# @name batchScrapeStatus
48
48
GET {{baseUrl }}/v1/crawl/{{batchScrapeId}} HTTP/1.1
49
- Authorization: Bearer {{$dotenv TEST_API_KEY}}
49
+ Authorization: Bearer {{$dotenv TEST_API_KEY}}
50
+
51
+
52
+ ### Map Website
53
+ # @name map
54
+ POST {{baseUrl }}/v1/map HTTP/1.1
55
+ Authorization: Bearer {{$dotenv TEST_API_KEY}}
56
+ content-type: application/json
57
+
58
+ {
59
+ "url" : " firecrawl.dev" ,
60
+ "sitemapOnly" : true
61
+ }
Original file line number Diff line number Diff line change @@ -80,10 +80,6 @@ export async function getMapResults({
80
80
81
81
// If sitemapOnly is true, only get links from sitemap
82
82
if ( crawlerOptions . sitemapOnly ) {
83
- if ( includeMetadata ) {
84
- throw new Error ( "includeMetadata is not supported with sitemapOnly" ) ;
85
- }
86
-
87
83
const sitemap = await crawler . tryGetSitemap ( true , true ) ;
88
84
if ( sitemap !== null ) {
89
85
sitemap . forEach ( ( x ) => {
You can’t perform that action at this time.
0 commit comments