Coder Social home page Coder Social logo

Comments (11)

Snbig avatar Snbig commented on July 1, 2024 1

You're welcome ❤
Code has been fixed before in 5da63c5 commit.

from instatrack.

github-userx avatar github-userx commented on July 1, 2024 1

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

from instatrack.

Snbig avatar Snbig commented on July 1, 2024 1

Command line options added to code 2e11349
Gook Luck 😉

from instatrack.

Snbig avatar Snbig commented on July 1, 2024 1

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

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

@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!

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

You‘re the best!,! ;) incredible!

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

@Snbig I am getting syntax error.

python3 InstaTrack.py -id justinbieber
File "InstaTrack.py", line 64
print(f"[+] Username: {username}")
^
SyntaxError: invalid syntax

from instatrack.

Snbig avatar Snbig commented on July 1, 2024
  • 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

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

I get the same error when using -u justinbieber and using the latest commit.

Using Python3.5.3

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

Do you use Python3.6?

from instatrack.

github-userx avatar github-userx commented on July 1, 2024

from instatrack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.