Montrealer
Member
From: Canada
Registered: 2008-12-27
Posts: 33
Many thanks to Fabrice for providing this wonderful site.
I'm using it in combination with a hand-held to drill the kanji I fail. To do this, I filter the results of the http://kanji.koohii.com/status/export.php function to generate a custom list of the kanji that are imported into the hand-held for the day's practice.
I'd like to automate the process more and combine all the steps in a shell script, but so far I haven't been able to find a way to access the export page from the command line.
Specifically, I'm not having any luck with any variation on
wget --user=my_username --password=my_password http://kanji.koohii.com/status/export.php
Does anyone have any ideas on how I can access this page from the command line?
Thanks in advance for any help,
a Montrealer
xaarg
Member
From: Neverland
Registered: 2007-07-13
Posts: 160
cangy wrote:
just to make it 3: you can also use wget --load-cookies with your firefox cookie file
That was maybe true years ago, but Firefox switched from Netscape's cookie.txt format to a Sqlite3 database.
Montrealer wrote:
BTW, most Unix tools are available for MS platforms, through Cygwin and other Gnu ports.
And Windows even has its own assortment of tools, e.g. the Javascript back-end of the so called the Windows Script(ing) Host.
Last edited by xaarg (2009 October 19, 11:56 am)
WSH is a terrible, terrible thing. Microsoft did well by scrapping it for PowerShell. Too bad you have to jump all over MSDN to find what you are looking for. Then there are a plethora of "P" languages that would make for a far more simple solution. But seriously, writing one POST and one GET manually isn't the end of the world.
regex for the cookie and do a telnet GET. Not very pretty, but it sure beats the trouble of installing cygwin.
@cangy
That was meant as sarcasm, although a surprising number of high profile apps still use ascii. So many people fail at utf...
p.s. I don't have a uu decoder. *too lazy to boot up the VM*
Last edited by unauthorized (2009 October 20, 3:29 pm)