Skip to content

Commit

Permalink
Bypass friendship updated
Browse files Browse the repository at this point in the history
  • Loading branch information
chinoogawa committed Jun 26, 2016
1 parent 1ffc236 commit 95c8bd5
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 4 deletions.
Empty file modified License
100644 → 100755
Empty file.
Empty file modified MyParser.py
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified community.py
100644 → 100755
Empty file.
Empty file modified database.py
100644 → 100755
Empty file.
Empty file modified dependencias.txt
100644 → 100755
Empty file.
Empty file modified fb_db.db
100644 → 100755
Empty file.
Empty file modified handlers.py
100644 → 100755
Empty file.
Empty file modified main.py
100644 → 100755
Empty file.
12 changes: 8 additions & 4 deletions mainFunc.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2000,12 +2000,16 @@ def friendshipPlot(text,victim):
def coreFriendshipPrivacy(victim,transitive):
friends = []
try:
response = br.open('https://www.facebook.com/'+str(victim)+'?and='+str(transitive)+'&sk=friends')
response = br.open('https://www.facebook.com/friendship/'+str(victim)+'/'+str(transitive))
resultado = response.read()
match = re.search('timelineFriendsColumnHeader',resultado)
match = re.search('\/browse\/mutual_friends\/\?uid\=',resultado)
if match is not None:
linea = re.search('timelineFriendsColumnHeader(.+)',resultado).group()

matchEnd = re.search("\"",resultado[match.end():])
if matchEnd is not None:
link = resultado[match.start():match.end()+matchEnd.start()].replace("&","&")

response = br.open('https://www.facebook.com/'+link)
linea = response.read()

except mechanize.HTTPError as e:
print e.code
Expand Down
Empty file modified mainLib.py
100644 → 100755
Empty file.
Empty file modified setup.py
100644 → 100755
Empty file.

3 comments on commit 95c8bd5

@freddy-sumba
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the new functionalities?

@darck333
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not working bad programation
👎

@aleperno
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please report any issues in the issues section.
Furthermore, remember the license of this project allows modifications. Feel free to fork this project and make any changes.

Please sign in to comment.