Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsingh97 committed Aug 26, 2017
1 parent 8891d0b commit c08f7cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ python StalkPy.py
- [ ] check list of browser and open accordingly
- [ ] Command line addition of accounts to `Config.json`
- [ ] check the validity of username.
- [ ] handle case if no social account found
- [ ] test cross plateform support

## Issues
Expand Down
10 changes: 3 additions & 7 deletions StalkPy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@
# you can find your copy of the License
# https://vaibhavsingh97.mit-license.org/
#-----------------------------------------------------------------------------
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import sys
import json
import requests
import os
import threading
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from clint.textui import colored, puts


Expand Down Expand Up @@ -106,7 +105,6 @@ def OpenLinks(self, user):
puts(colored.green(social_account_name + ": ") +
colored.blue(CleanedLink(self.data[social_account_name], user)))
r.close()
notification(3)


if __name__ == '__main__':
Expand All @@ -119,6 +117,4 @@ def OpenLinks(self, user):
for i in range(1, len(sys.argv)):
space()
puts(colored.magenta("User: %s" % sys.argv[i]))
for t in range(10):
t = threading.Thread(target=StalkPy().OpenLinks(sys.argv[i]))
t.start()
StalkPy().OpenLinks(sys.argv[i])

0 comments on commit c08f7cc

Please sign in to comment.