Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-scraper-chrome-extension",
"version": "0.4.9",
"version": "0.4.10",
"description": "Web data extraction tool implemented as chrome extension",
"scripts": {
"lint": "eslint --ext .js src",
Expand Down
6 changes: 4 additions & 2 deletions src/scripts/StoreTalismanApi.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import axios from 'axios';
import StoreRestApi from './StoreRestApi';
import urlJoin from 'url-join';
import Sitemap from './Sitemap';
import * as browser from 'webextension-polyfill';

const PROJECTS_LIMIT = 10000;
const SITEMAPS_IN_PROJECT_LIMIT = 10000;

const GET_ALL_PROJECTS_QUERY = `query getProjects($sortDirection: SortDirection $sortField: ProjectSorting $limit:Int) {
paginationProject(
Expand Down Expand Up @@ -129,7 +129,9 @@ export default class StoreTalismanApi extends StoreRestApi {
}

async getAllSitemaps(projectId) {
return this._getAllSitemaps(this.sitemapsPathInProject(projectId));
return this._getAllSitemaps(
`${this.sitemapsPathInProject(projectId)}?limit=${SITEMAPS_IN_PROJECT_LIMIT}`
);
}

async sitemapExists(sitemapId, projectId) {
Expand Down