Re:An industry that helps Chinese cheat their way into and t...
by xviia on Wednesday May 25, 2016 @09:28PM
(#11774580)
How would this be done? What kind of language, etc. would enable this?
[ Parent
| on HN ]
Re:An industry that helps Chinese cheat their way into and t...
by eli173 on Thursday May 26, 2016 @04:31AM
(#11776477)
I decided to try it.
https://gist.github.com/eli173/c089c27db9c1302fe4e003716b402...
Perhaps I am the kind of person they are trying to avoid, but I did this in a bit less than an hour. I am very ignorant of the Python library ecosystem, so if I had known the request library better and if I knew an html parsing library, I may have been able to complete this in the time limit. I also suspect there are a few cases which break my solution.
Re:An industry that helps Chinese cheat their way into and t...
by studentrob on Thursday May 26, 2016 @02:24PM
(#11780309)
> if I knew an html parsing library
Beautiful soup https://pypi.python.org/pypi/beautifulsoup4
Re:An industry that helps Chinese cheat their way into and t...
by yeowMeng on Wednesday May 25, 2016 @10:01PM
(#11774705)
Wget/sh/sed/awk/perl soup
Re:An industry that helps Chinese cheat their way into and t...
by gumby on Thursday May 26, 2016 @01:44AM
(#11775799)
A simple shell script with curl piped through sed or awk...
Re:An industry that helps Chinese cheat their way into and t...
by sotojuan on Wednesday May 25, 2016 @09:41PM
(#11774631)
Any language with support for web crawling? I can sorta see it being done in Node with cheerio[1] and an HTTP client.