Skip to content

Commit

Permalink
fix: ignore /?display=
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Mar 6, 2020
1 parent 5b2541e commit 2b08a55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scrap-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module.exports = async (baseUrl, options = {}) => {
if (options.url.match(/\?width=\d+&height=\d+/)) return false; // визитки, сотрудники
if (options.url.includes('?vi=y')) return false; // версия для слабовидящих
if (options.url.includes('gallery/?page=detail')) return false; // Битрикс Галерея 2.0
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

Expand Down

0 comments on commit 2b08a55

Please sign in to comment.