Skip to content

Commit

Permalink
fix: add filters /?catalog_view=, /?SORT=, /filter/clear/apply/
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Apr 15, 2020
1 parent 14cb3fa commit 802635f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scrap-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ module.exports = async (baseUrl, options = {}) => {
if (options.url.includes('/?display=')) return false; // Аспро: вид списка
if (options.url.includes('redirect.php')) return false; // bitrix redirect
if (options.url.includes('rk.php')) return false; // bitrix rk
if (options.url.includes('/?catalog_view=')) return false; // bitrix display
if (options.url.includes('/?SORT=')) return false; // bitrix sort
if (options.url.includes('/filter/clear/apply/')) return false; // bitrix filter

return true;
},
Expand Down

0 comments on commit 802635f

Please sign in to comment.