elfprince13 wrote:
now if I added an option to download all of an authors files, I think I would get blocked.
just use your own header files for the HTTP connection (using httplib instead of urllib) and then you can always have the useragent set at MSIE (or whatever), can't block it then
oh, and change:
Code: checker = StatChecker()
to
Code: if __name__ == "__main__":
checker = StatChecker()
that way it only runs when executed, so you could still use an import on that class later without it running
also, you are still using unnecessary variables in there
lastly, change your 'return None's to just 'return'
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum