Advertisement
Guest User

Untitled

a guest
May 17th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. http://pastebin.com/lkwnugmx
  2.  
  3. this is a script to get the rank of domains from alexa
  4. usage: script.py input_domains.txt output.txt
  5. it gets the domain from input, posts in alexa and gets the rank value
  6. then it sort's the results in output.txt according to the rank
  7. the less the rank is the more value is the domain, first apears on the list
  8.  
  9. the thing is when it times out connecting to alexa in the process, it gives this error:
  10. http://pastebin.com/mkhgmabs
  11. the script crashes and the output cames out empty
  12.  
  13. so i need to correct this as i can't get a full list rank sorted because it gets the error sometime in the process and all the work is lost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement