Skip to content

Instantly share code, notes, and snippets.

@ruliana
Created September 26, 2016 14:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruliana/157dc996db8979ad6f3987b22f512470 to your computer and use it in GitHub Desktop.
Save ruliana/157dc996db8979ad6f3987b22f512470 to your computer and use it in GitHub Desktop.
HTML Parsing in Racket (easy!)
#lang racket
(require net/url
html-parsing)
(define rubyconf-url "http://www.rubyconf.com.br/pt-BR/schedule#")
(define (page-get url)
(call/input-url (string->url url)
get-pure-port
html->xexp))
(page-get rubyconf-url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment