personality()

fetching the personality of a Vtuber Fandom page

Vwiki().personality(vtuber: str, auto_correct: bool = False)

#or

AioVwiki().personality(vtuber: str, auto_correct: bool = False)
Parameters
  • vtuber (str) - the vtuber's fandom page to search for

  • auto_correct (bool) - whether or not the vtuber query will get auto-corrected (default: False)

Note: it is recommended to turn off auto_correct for specific query search

Returns

str - a/an paragraph containing the vtuber's personality of the page

Note: will returns "None" if there is no vtuber's personality of the page

Use Case

Without auto_correct :

from vtuberwiki import AioVwiki
import asyncio

async def get_personality():
    async with AioVwiki() as aio_vwiki:
        s = await aio_vwiki.personality(vtuber="mythia batford",auto_correct=False)
        print(s) # No wiki results for Vtuber "mythia batford"
        
        # Correct one is "Mythia_Batford"

asyncio.run(get_personality()

With auto_correct :

from vtuberwiki import AioVwiki
import asyncio

async def get_personality():
    async with AioVwiki() as aio_vwiki:
        s = await aio_vwiki.personality(vtuber="mythia batford",auto_correct=True)
        print(s) # Mythia is a calm person, although sometimes when she speaks, she can be funnier or more sadistic in her talks. 
                 # She's been a couple of times talking about something weird and not true. 
                 # However, she was flattered by some of her fans for her natural and good voice.
        
        # it gets auto-corrected to "Mythia_Batford"

asyncio.run(get_personality()

Last updated