minimaxir / facebook-page-post-scraper

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis
2.12k stars 663 forks source link

carriage return should be escaped if in the content #50

Closed cdhit closed 7 years ago

cdhit commented 7 years ago

I found that "carriage return" should be escaped in the content otherwise the single row of data will be split into different rows.

But I can use'\r' to identify the newline, not sure if this is an issue.

minimaxir commented 7 years ago

The carriage returns are encoded in a way that a read_csv command or Excel will be able to interpret them.

If you are manually scanning the output line-by-line, that is not a typical case.