Skip to content

Commit 2af83bc

Browse files
chore: remove google_search bot
Scraping google search results is no longer possible due to google's anti-scraping measures. Projects that previously depended on scraping google search results have [moved away from it](benbusby/whoogle-search#1253). Given that this bot also pulls in a large dep (lxml), It seems preferable to remove it altogether.
1 parent 6fb536f commit 2af83bc

11 files changed

Lines changed: 0 additions & 216 deletions

File tree

tools/run-mypy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ force_include = [
3333
"zulip_bots/zulip_bots/bots/giphy/test_giphy.py",
3434
"zulip_bots/zulip_bots/bots/github_detail/github_detail.py",
3535
"zulip_bots/zulip_bots/bots/github_detail/test_github_detail.py",
36-
"zulip_bots/zulip_bots/bots/google_search/google_search.py",
37-
"zulip_bots/zulip_bots/bots/google_search/test_google_search.py",
3836
"zulip_bots/zulip_bots/bots/help/help.py",
3937
"zulip_bots/zulip_bots/bots/help/test_help.py",
4038
"zulip_bots/zulip_bots/bots/incrementor/incrementor.py",

zulip_bots/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"pip",
5454
"zulip",
5555
"html2text",
56-
"lxml",
5756
"BeautifulSoup4",
5857
"typing_extensions>=4.5.0",
5958
"importlib-metadata>=3.6",

zulip_bots/zulip_bots/bots/google_search/__init__.py

Whitespace-only changes.

zulip_bots/zulip_bots/bots/google_search/doc.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

zulip_bots/zulip_bots/bots/google_search/fixtures/test_attribute_error.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

zulip_bots/zulip_bots/bots/google_search/fixtures/test_ignore_links.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

zulip_bots/zulip_bots/bots/google_search/fixtures/test_no_result.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

zulip_bots/zulip_bots/bots/google_search/fixtures/test_normal.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

zulip_bots/zulip_bots/bots/google_search/google_search.py

Lines changed: 0 additions & 92 deletions
This file was deleted.
-17.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)