AlJohri / socialscraper

Social media scrapers
25 stars 3 forks source link

Stop using string splicing and instead regular expressions in Facebook #2

Closed AlJohri closed 10 years ago

AlJohri commented 10 years ago

regular expressions are slower (we can probably precompile and pickle) but trimming the first "X" characters in a script tag to find the resulting JSON inside doesn't feel right.

AlJohri commented 10 years ago

too unspecific. will reopen this later if needed.