diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-24 02:36:26 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-24 02:39:39 -0700 |
commit | 95f429041ee505497f36530e1895c2ea3554d37b (patch) | |
tree | 93ae0d2fdbc85dc58884d75981cafe2d33640edb /TODO.md | |
parent | caa03bb164e40827e0d5f3f35522ac3cabc1e348 (diff) |
Refactor search engine types
Still not sure exactly what the idiomatic representation is here
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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. |