Skip to content

Commit

Permalink
fix: idealista url matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Fernandes committed Jan 10, 2024
1 parent a448501 commit 9b13908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RowsX",
"version": "1.0.1",
"version": "1.0.2",
"manifest_version": 3,
"background": {
"service_worker": "src/background.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getScrapperOptionsByUrl(url: string) {
};
}

if (url.includes('idealista.pt/comprar-')) {
if (url.includes('idealista.pt') && url.includes('/comprar-')) {
return {
header: 'Idealista search results',
listElementsQuery: '.item',
Expand Down

0 comments on commit 9b13908

Please sign in to comment.