chrisbra / wikipedia2text

A commandline tool for querying the Wikipedia
Other
32 stars 4 forks source link

Added option to pass browser-specific options to browser. #2

Closed michaelaoash closed 8 years ago

michaelaoash commented 8 years ago

Dear Christian, Thank you very much for wikipedia2text -- I am using it regularly for a political economy project.

I added an option (-X) so that browser-specific options, e.g., "-width=180" in lynx, can be passed through to the browser. There isn't checking, but the command will fail if the browser can't accept the option. I also modified the "-u" option so that it shows both the url generated and the command generated. I'd welcome your comments, etc. Thanks.

Best, Michael

chrisbra commented 8 years ago

thanks, I have merged it manually (and fixed some whitespace error).