Skip to content

Commit

Permalink
fix: remove ads for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Jul 2, 2024
1 parent 3c3ef6b commit 04bc946
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions lib/selectors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ module Selectors
description: "div.BNeawe.s3v9rd.AP7Wnd",
breadcrumbs: "div.BNeawe.UPmit.AP7Wnd.lRVwie",
url: "a[href]",
},
ads: {
container: "div.uEierd",
title: "h3 > div",
description: "div.BNeawe.s3v9rd.AP7Wnd",
breadcrumbs: "div.BNeawe.UPmit.AP7Wnd",
url: "a[href]",
ad_label: "span.uEierd",
}
}
}
Expand Down
1 change: 0 additions & 1 deletion spec/selectors_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
it "returns the correct selectors for a known jsmodel" do
selectors = described_class.for("hspDDf")
expect(selectors).to have_key(:organic_results)
expect(selectors).to have_key(:ads)
end

it "raises an error for an unknown jsmodel" do
Expand Down

0 comments on commit 04bc946

Please sign in to comment.