Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Scraping Character Attributes

I want to go about trying to scrape the characters attributes into python so I can a write a script than can automatically update the character screens in OBS. The only thing I don't understand is how I can go about scraping the attributes off of roll20?
1590856611

Edited 1590856685
Jakob
Sheet Author
API Scripter
You can probably scrape the external journal. Have an API script dump all the info in base64 JSON form to a character's description, then scrape the external journal for this character.
I've hit a wall. They use firebase to host the external journal and I can't really find a way to extract the data out of that since it needs to load the javascript in order to do that. I'll try find another way but, anything I can go around this problem?
1590869355

Edited 1590870110
You can write and run some small javascript in the browser and have that pass the data to your script. Or create an API javascript like Jakob wrote. Whatever you do, you need some javascript. And might require a different solution based on timing requirements.