summaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-24 02:36:26 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-24 02:39:39 -0700
commit95f429041ee505497f36530e1895c2ea3554d37b (patch)
tree93ae0d2fdbc85dc58884d75981cafe2d33640edb /TODO.md
parentcaa03bb164e40827e0d5f3f35522ac3cabc1e348 (diff)
Refactor search engine types
Still not sure exactly what the idiomatic representation is here
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/TODO.md b/TODO.md
index 083d492..0e6be2a 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,17 +1,12 @@
# TODO
### v0.3.1
-0. Refactor the enum/struct for search engines
1. Much of the code can be reused for google:
* parsing href after `"url="` (similar to uddg)
* formatting `(site:stackoverflow.com OR site:unix.stackexchange.com) what is linux`
So make a `Scraper` trait and implement it for DDG & Google. Then
`stackexchange` can just code against `Scraper` and choose based on
`--search-engine | -e' argument`
-2. Maybe reorganize to
- - stackexchange
- - api
- - scraper
### Endless future improvements for the TUI
1. Init with smaller layout depending on initial screen size.