You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
#Fixed:::UserID to UserName doesn’t work anymore - will You fix it anytime soon? #2
changed the title [-]UserID to UserName doesn’t work anymore - will You fix it anytime soon?[/-][+]#Fixed:::UserID to UserName doesn’t work anymore - will You fix it anytime soon?[/+]on Jun 2, 2019
Yes. F-strings is not available for python before [3.6]
To make it compatible with python before 3.6 replace f-strings with string formatting. "[+] Username: {}".format(username) "[+] UserID: {}".format(userid)
[*] Code updated and now it compatible with python > 3
Yes.
F-strings is not available for python before 3.6.
To make it compatible for python before 3.6 replace f-strings with string formatting.
> "[+] Username: {}".format(username)
> "[+] UserID: {}".format(userid)
—
You are receiving this because you authored the thread.
Reply to this email directly, > view it on GitHub <#2?email_source=notifications&email_token=AIY4ABSN6F5JBIIZWPNED2LPYOGDBA5CNFSM4HRIJI3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXRQFA#issuecomment-498014228>> , or > mute the thread <https://github.com/notifications/unsubscribe-auth/AIY4ABW3A5LON6OCYFJIX5TPYOGDBANCNFSM4HRIJI3A>> .
Activity
Snbig commentedon May 30, 2019
You're welcome ❤
Code has been fixed before in 5da63c5 commit.
github-userx commentedon May 30, 2019
@Snbig bless you. Many many thanks.
Currently I have it that I can execute
python3 usernameToUserID.py
And it will ask/ prompt for a username to input.
But with the userIDtoUsername I always have change the UserID in the python file itself (in line 46):
print(useridToUsername("00000000"))
Do You think it’s possible for the userIDtoUsername script to ask for userID input?
Best Regards!
github-userx commentedon May 30, 2019
i assume theoretically we could also have a single app with parameters like:
#get userID from username
instatrack -id justintimberlake
#get username from userID
instatrack -u 1234567812345
But honestly I am also absolutely fine with two .py files that do work flawlessly!
<3
Snbig commentedon Jun 1, 2019
Command line options added to code 2e11349
Gook Luck 😉
github-userx commentedon Jun 2, 2019
You‘re the best!,! ;) incredible!
github-userx commentedon Jun 2, 2019
@Snbig I am getting syntax error.
python3 InstaTrack.py -id justinbieber
File "InstaTrack.py", line 64
print(f"[+] Username: {username}")
^
SyntaxError: invalid syntax
Snbig commentedon Jun 2, 2019
First of all clone the latest commit.
Use "-u/--user" instead of "-i/--id" to set username.
Also Check help [-h/--help]:
$ python3 InstaTracker.py -u justinbieber[+] UserID: 6860189[-]UserID to UserName doesn’t work anymore - will You fix it anytime soon?[/-][+]#Fixed:::UserID to UserName doesn’t work anymore - will You fix it anytime soon?[/+]github-userx commentedon Jun 2, 2019
I get the same error when using -u justinbieber and using the latest commit.
Using Python3.5.3
github-userx commentedon Jun 2, 2019
Do you use Python3.6?
Snbig commentedon Jun 2, 2019
Yes.
F-strings is not available for python before [3.6]
To make it compatible with python before 3.6 replace f-strings with string formatting.
"[+] Username: {}".format(username)"[+] UserID: {}".format(userid)[*] Code updated and now it compatible with python > 3
github-userx commentedon Jun 2, 2019