aboutsummaryrefslogtreecommitdiff
path: root/direct_client.go
AgeCommit message (Collapse)Author
2021-01-31all: rewrite the serverShulhan
This commit move the directClient to different repository called kamusku and changes the module name from kamusku to kamusd.
2020-05-30all: rename the module to "kamusku"Shulhan
2020-04-12all: beri penjelasan tentang kolom "pesan" pada responseShulhan
Bersamaan dengan ini, perbaiki juga respons pada halaman proyek untuk menampilkan kolom "pesan".
2020-04-12all: refactoring client to load cookies automaticallyShulhan
When creating new client, the directClient will autoload cookies in predefined location. If Login is called, the cookies will autosave directly to predefined location. This will allow the server to use authenticated directClient to mitigate the limit on KBBI official server.
2020-04-12direct_client: beri pesan untuk kata yang tidak ditemukanShulhan
2020-04-12all: tangani kata tidak bakuShulhan
Sebelumnya bila kata adalah kata tidak baku, definisi kata akan berisi karaketer "→" saja. Perubahan ini memeriksa bila definisi kata adalah "→" maka akan dianggap tidak baku dan kata yang baku berada satu elemen sesudahnya.
2020-04-11direct_client: perbaikan parameter untuk mendapatkan token loginShulhan
Seharusnya untuk mendapatkan token attribut yang dicari adalah "value" bukan "name".
2020-04-05all: simplify iterating HTML tree with NodeIteratorShulhan
2020-04-05all: simplify html parser using github.com/shuLhan/share/lib/net/htmlShulhan
2020-04-01all: implement server and client for dictionary APIShulhan
Currently the server and client can onyl handle API for looking up definitions of the words through "/api/definisi" URL.
2020-03-30all: refactoring ClientShulhan
The client will have two mode: direct or API. The direct mode connect to official KBBI website, request the word page, and parse the HTML to get the definition. The API mode connect to server API that provide caching of dictionary.