The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. July 29, 2010, 08:01:17 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Twitter MassFollow Python Script  (Read 565 times)
webinfoguy25
Rookie
**
Offline Offline

Posts: 31


View Profile
« on: January 30, 2010, 07:18:43 AM »

Hey guys, how do I prevent the HTTP Error 403 Forbidden from happening when I run my python script for adding followers based on keyword search?

Thanks,
« Last Edit: January 30, 2010, 11:57:06 AM by webinfoguy25 » Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 8649



View Profile
« Reply #1 on: February 01, 2010, 07:40:36 PM »

Don't think it's a Python issue so mush as perms on the machine ... does the Apache user have rights to R/W/E (755 at least) on the directory and that script?
Logged

It's the things you learn after you know it all that really count.
-John Wooden
webinfoguy25
Rookie
**
Offline Offline

Posts: 31


View Profile
« Reply #2 on: February 01, 2010, 07:54:57 PM »

no I can get it to work, but then it stops working after I make too many requests  Mobster Jackoff Vomit
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 8649



View Profile
« Reply #3 on: February 01, 2010, 08:08:33 PM »

Well there's only about a million reasons why that could happen, and I'd need more data to triage.

But simply: "Too many requests"
* Apache is overlimit and denying new requests
* You're using some kind of library with Python that has a limit
* You're connecting to a database and out of available handles
* You're reading/writing to files and two processes are colliding
* You've got some form of race condition that is being exacerbated by the load
* Your ISP has some kind of limit on processor utilization

I dunno meng. Need more than "It no workee."
Logged

It's the things you learn after you know it all that really count.
-John Wooden
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!