Skip to content

Commit 9960360

Browse files
bots: remove google_search example 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 9960360

File tree

12 files changed

+0
-218
lines changed

12 files changed

+0
-218
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ ruff~=0.2.2
1010
-e ./zulip_botserver
1111
git+https://github.com/zulip/zulint@417b4e4971fdd5ca8e84847f1391b657b188631a#egg=zulint==1.0.0
1212
mypy==1.8.0
13-
types-beautifulsoup4
1413
types-httplib2
1514
types-python-dateutil
1615
types-pytz

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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
"pip",
5454
"zulip",
5555
"html2text",
56-
"lxml",
57-
"BeautifulSoup4",
5856
"typing_extensions>=4.5.0",
5957
"importlib-metadata>=3.6",
6058
],

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.

0 commit comments

Comments
 (0)