JRJurman / Letteropend

A gem that exposes Letterboxd data
MIT License
5 stars 1 forks source link

Use another gem for parsing Files #4

Closed JRJurman closed 10 years ago

JRJurman commented 10 years ago

I'm looking into using Nokogiri to parse the HTML files, it makes getting the attributes easier (using css selectors instead of grep)...

I'm also looking into creating some kind of file structure (creating List and Film classes)... I'll have this in the nokogiri branch to avoid conflicts that might happen with merging other branches before/after

nickserv commented 10 years ago

:+1: Nokogiri is awesome. If you want more general scraping related tools, you might also find Mechanize useful, which also wraps around Nokogiri for parsing pages once you're where you want to crap.

I was planning on working on some file structure stuff in my gem branch. I'm at least thinking about using modules and separating out a CLI.

JRJurman commented 10 years ago

Yeah, if you look at the branch now, there's a List.rb and Film.rb as well

JRJurman commented 10 years ago

Done and done