obtain formt json module output
ManuelBot59 opened this issue · 3 comments
ManuelBot59 commented
how do i get the json format of the module output?
megadose commented
You need to use holehe as a library
ManuelBot59 commented
and how do I do that?, excuse my ignorance
megadose commented
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)