nrabinowitz / pjscrape

A web-scraping framework written in Javascript, using PhantomJS and jQuery
http://nrabinowitz.github.io/pjscrape/
MIT License
996 stars 159 forks source link

Variable file encoding types for File writer #61

Closed nlwstein closed 3 years ago

nlwstein commented 9 years ago

PhantomJS' file writer allows the use of any of the Qt string codecs listed here: http://doc.qt.io/qt-4.8/qtextcodec.html

This pull request adds a property to the config object that allows the user to pick something other than UTF-8. This is useful in environments where ASCII is the only option.