Hot answers tagged

13 votes

Flack Overstow - Generate spam from Stack Exchange posts

Here are some of the best snippets I've seen so far. From Stack Overflow, You should be downloaded. Me.load. the given URL actually points to a coincidence. Dolby also specifies that the conversion ...
user avatar
  • 231
9 votes

Flack Overstow - Generate spam from Stack Exchange posts

Some of my own "quotes" from Stack Overflow: I know, there is no way to explain the way Python treats variables and parameters. This will remove all characters on Earth. I modified the function and ...
user avatar
  • 191
8 votes

Flack Overstow - Generate spam from Stack Exchange posts

These are my favorites on Meta Stack Exchange: the bounty will be the best advice and you may find yourself in rough seas. Not? Then you have uploaded your image to delete incorrect answers Meta ...
user avatar
5 votes

Py-StackExchange: An API wrapper for Python

I am trying to use the Search option to get the list of results from SO. I have tried using pagesize=50 and I still get large number of titles returned. Is there another option to limit that search? ...
user avatar
5 votes

Py-StackExchange: An API wrapper for Python

Total results vary with page size The idea of producing a transparent iterator (getting the next page as needed) is cool, but it just isn't working; the page size affects the total number of results ...
user avatar
4 votes

StackPrinter: The Stack Exchange Printer Suite

status-completedI asked this as a question, but apparently the convention is to report bugs/feature requests in the announcement thread. It appears, that the MathJax extension mhchem is currently not ...
user avatar
4 votes
Accepted

How do I add newlines when editing a post body via the API?

The \r\n issue was solved when I changed to a POST request. But, since I was retagging questions (didn't really need to change the body, just resend it), I ended up using the body_markdown, encoded ...
user avatar
  • 561
3 votes

How can I extract user information on Stack Overflow using Python and the Sack Overflow API?

The API presents individual features behind individual URLs. The information on the profile page is combined from several sources; to get the details you requested, you will have to submit multiple ...
user avatar
  • 149
3 votes

Stackathlon 2.5: Leader board for users active on multiple sites

Great design and great idea. I don't know whether many people still look at this, but I discovered it today and if it was advertized and used more. Some suggestions for Stackathlons: Quantitive ...
user avatar
3 votes

Flack Overstow - Generate spam from Stack Exchange posts

These all come from my mechanics.stackexchange profile. There's a post here: whatconsumer.co.uk whose top post seems to be burning an over-rich fuel mixture. Hmm, I wonder what they're running their ...
user avatar
3 votes

StackPrinter: The Stack Exchange Printer Suite

The default bookmarklet javascript has problems when used with mathoverflow. Because annoyingly mathoverflow ends with a .net instead of a .com. I made some changes so that it could also work with ...
user avatar
3 votes

StackPrinter: The Stack Exchange Printer Suite

Here is a small script (stackprinter) which uses Stack Printer from the command-line: #!/bin/sh type wkhtmltopdf || { echo >&2 "wkhtmltopdf command is required. Aborting."; exit 1; } :...
user avatar
  • 153
3 votes

Py-StackExchange: An API wrapper for Python

When I try running the code with python 3.4 I always get this error: AttributeError: 'HTTPMessage' object has no attribute 'getheader' Here is the full traceback. I'd be very happy if any of you ...
user avatar
  • 71
2 votes

Py-StackExchange: An API wrapper for Python

import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) comment = so.comment(valid_comment_id) the above code returns the following error in init.py: --->166 self....
user avatar
2 votes

Py-StackExchange: An API wrapper for Python

Lucas, Something must have changed in JSON data format sent from the Stack Exchange API because yesterday for no reason I started getting: ValueError("Unexpected UTF-8 BOM (decode using utf-8-...
user avatar
  • 71
2 votes

Py-StackExchange: An API wrapper for Python

I'm trying to access different attributes of the Answer class but I get this error: AttributeError: 'Answer' object has no attribute 'accepted' I looked into your init.py file and I can see that you ...
user avatar
  • 71
2 votes

Py-StackExchange: An API wrapper for Python

The API was working but now I receive an error when I try to run the demo examples. Sample error dump: /usr/bin/python2.7 /home/donbeo/PycharmProjects/stack_overflow/experience.py StackOverflow user ...
user avatar
  • 121
2 votes
Accepted

Is my script's API usage okay?

This isn't really a place to code-review your script, even if it uses the API. Here is were you would publish your script1. However, after a quick glance at the code, I don't see any glaring ...
user avatar
  • 12.6k
1 vote
Accepted

Stack API doesn't return json with encoding of UTF-8

That data is stored as HTML in the database, as are more fields (e.g. the about_me field right above the location). Presumably, this is done for performance reasons. ü is the HTML entity ...
user avatar
  • 5,267
1 vote
Accepted

I want a python program example for more requests a day

You are subject to throttling. You can get more calls by first registering your application. After that you get access to a detail page which includes a value for key. The description for that field ...
user avatar
  • 1,780
1 vote

Got a Bad Status Line

I suspect some new throttling kicked in on Saturday. When I slightly increased the delay between page= queries, the problem went away.
user avatar
1 vote

Stackdump, an offline browser for StackExchange sites

supportstatus-resolved I've been searching for a Stack Exchange offline version, for research purposes at my University, then I found this. I have been trying to figure out how to exactly run the ...
user avatar
  • 11
1 vote

Flack Overstow - Generate spam from Stack Exchange posts

Outside world until the constructor returns. If the native library/code cannot be linked to by that JVM (for example, if you have a Windows JVM (for example, if you have a rich history of ...
user avatar
  • 121
1 vote

Py-StackExchange: An API wrapper for Python

I can't figure out how to fetch the text body of the answers and comments to a question given the question id. Also I can't figure out what are the supported sites(variable Name) in the method name ...
user avatar
1 vote

Py-StackExchange: An API wrapper for Python

Seems very unreliable to me. Using the GitHub number of answers example results in a NeedsAwoken error, while the scrolling list of questions makes a StackExchangeError. List of errors (community can ...
1 vote

Py-StackExchange: An API wrapper for Python

support How can I access the q in the questions method? In the Stack Exchange API, Usage of /search/advanced: q - a free form text parameter, will match all question properties based on an ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible