3

About

StackScraper is a user script that adds HTML and JSON export options to each question. The JSON loosely resembles the API format and includes the HTML and markdown bodies of all posts, as well as their comments and vote counts (if you have permission to view them). The HTML displays the content similarly to Stack Exchange and includes the necessary attribution. Comments are included, but initially hidden.

As an example, here are the JSON and HTML dumps of a deleted question.

License

Released under the MIT Open Source License.

Installation

Click here to install or update StackScraper.

Platforms

  • Google Chrome, probably
  • Mozilla Firefox + Greasemonkey, possibly

(Not well-tested yet.)

Contact

StackScraper was written by me, Jeremy Banks. Feedback and bug reports can be posted as comments or answers below.

Code

StackScraper was written in CoffeeScript. You can view or contribute to the source here on GitHub.

3
  • Bug Mangles owner of this wiki question.
    – Jeremy
    Mar 18, 2012 at 3:07
  • TODO Fetch revisions list for wiki posts in order to always correctly determine owner/editors.
    – Jeremy
    Mar 18, 2012 at 3:11
  • TODO Stop making requests as soon as you get blocked.
    – Jeremy
    Mar 18, 2012 at 3:30

1 Answer 1

0

The script is not working.

  1. .post-menu is now .js-post-menu
  2. BlobBuilder was deprecated.

On my copy, I applied corrections to fix the above. That was enough to get an output. There are still other changes, like updating the other classes' names, but I'm unfamiliar with CoffeeScript.

Related

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .