megadose/holehe

obtain formt json module output

ManuelBot59 opened this issue · 3 comments

how do i get the json format of the module output?

You need to use holehe as a library

and how do I do that?, excuse my ignorance

import trio
import httpx

from holehe.modules.social_media.snapchat import snapchat


async def main():
    email = "test@gmail.com"
    out = []
    client = httpx.AsyncClient()

    await snapchat(email, client, out)

    print(out)
    await client.aclose()

trio.run(main)