Skip to content
G edited this page Jun 13, 2021 · 5 revisions

Python & NodeJS CLI

The Python & NodeJS CLI are almost identical. They both produce similar results except how scraping from profiles is being handled. Both of them are limited to FindUserProflesFast.

  • username Any sort of string
    • --username "johndoe9999"
    • --username "john doe 9999"
  • websites Your target website or websites separated by a comma. You can use the word all for all websites.
    • --websites "youtube"
    • --websites "youtube,tiktok"
    • --websites "all"
  • mode Type of scan you want (currently it's limited to fast which is FindUserProfilesFast)
    • --mode "fast"
  • output How do you want the output? json or pretty
    • --output "json"
    • --output "pretty"
  • options This is used to determine what kinda information do you want? if any of link, rate, title or text tags is provided, then the profile will only show the provided tag. You can also have multi tags separated by a comma
    • --options "link"
    • --options "title,link"
  • method This is used to determine how to handle detected, failed and unknown profiles. find is used for detected profiles only, and get used to bring profiles regardless of their status. all is a combination between find and get. The default is all which will show all profiles
    • --method "all"
    • --method "get"
    • --method "find"
  • docker Enables the CLI with docker
    • --docker
  • grid This option not for CLI because this CLI is limited to FindUserProfilesFast. However, this option allows gird to run
    • --docker
  • list List of all available websites
    • --list

NodeJS CLI Example

$ node app.js --username "johndoe" --websites "youtube pinterest tumblr" --output "pretty"
[!] Detections are updated every often, make sure to get the most updated ones
[Good] NodeJS Version Check
[Checking] pinterest.com
[Checking] youtube.com
[Checking] tumblr.com

[Detected] 1 Profile[s]

[
  {
    "found": 3,
    "link": "https://pinterest.com/johndoe",
    "rate": "%100.00",
    "title": "John Doe (johndoe) - Profile | Pinterest",
    "language": "English",
    "type": "Social media service"
  }
]

[Unknown] 2 Profile[s]

[
  {
    "link": "https://youtube.com/johndoe",
    "title": "404 Not Found",
    "language": "English",
    "type": "Video hosting service"
  },
  {
    "link": "https://johndoe.tumblr.com",
    "title": "Not found.",
    "language": "English (Maybe)",
    "type": "unavailable"
  }
]

Python CLI Example

python3 app.py --username "johndoe" --websites "youtube pinterest tumblr" --output "pretty"
[!] Detections are updated every often, make sure to get the most updated ones
[Checking] youtube.com
[Checking] tumblr.com
[Checking] pinterest.com

[Detected] 1 Profile[s]

{
    "found": 3,
    "language": "English",
    "link": "https://pinterest.com/johndoe",
    "rate": "%100.0",
    "title": "John Doe (johndoe) - Profile | Pinterest",
    "type": "Social media service"
}


[unknown] 2 Profile[s]

{
    "language": "English",
    "link": "https://youtube.com/johndoe",
    "title": "404 Not Found",
    "type": "Video hosting service"
}

{
    "language": "English (Maybe)",
    "link": "https://johndoe.tumblr.com",
    "title": "Not found.",
    "type": "unavailable"
}

Notes

  • Having 2 CLIs produce similar output was very difficult to implement. The Python CLI does not interact with the NodeJS API at all. The CLIs have different back-end logics, but they produce similar output.
Clone this wiki locally