Discussion:
[racket] HTML Code/Web Authentication
Alexandre Nicolaï
2015-02-21 15:35:42 UTC
Permalink
HelloI am looking to develop a small program whose purpose is automated extraction HTML code of a web page and then analyze the data, but I am a beginner and I do not understand how to implement this extraction with Racket. Another problem is mandatory authentication to access the page in question.
Thanks,
Alex
Matthias Felleisen
2015-02-21 15:44:53 UTC
Permalink
For the first half of the question, see

http://www.ccs.neu.edu/home/matthias/HtDP2e/part_4.html#%28part._sub~3areading-xml%29

from the book for absolute novices. It explains how to design a simple stock ticker by reading (X)HTML off the web.

The book emphasizes systematic design. You can solve this specific problem with brute force regular-expression matching with few lines of code. The question is whether you want to learn to solve problems or copy code from mailing lists and StackOveflow w/o understanding what's really going on.

-- Matthias
Post by Alexandre Nicolaï
Hello
I am looking to develop a small program whose purpose is automated extraction HTML code of a web page and then analyze the data, but I am a beginner and I do not understand how to implement this extraction with Racket. Another problem is mandatory authentication to access the page in question.
Thanks,
Alex
____________________
http://lists.racket-lang.org/users
Loading...