screen-scraper is stripping out white space when I don't want it to. How do I stop it from doing this?

When screen-scraper applies extractor patterns to HTML it first strips out "unnecessary" white space. This makes the extraction process significantly faster; however, on rare occasions the white space may not be quite so "unnecessary". Circumventing this requires a bit of a workaround that involves replacing white space characters (such as hard returns) with temporary markers, applying the extractor pattern, then replacing the temporary markers with the white space characters. This is best illustrated by an example scraping session, which you can download here.

Note that this should be considered a temporary solution. We'll address this issue more elegantly in an upcoming version of screen-scraper.