locaal-ai / obs-urlsource

OBS plugin to fetch data from a URL or file, connect to an API or AI service, parse responses and display text, image or audio on scene
https://obsproject.com/forum/resources/url-api-source-fetch-live-data-and-display-it-on-screen.1756/
GNU General Public License v2.0
184 stars 24 forks source link

Output Issue #117

Open TheCanvasNomad opened 1 month ago

TheCanvasNomad commented 1 month ago

I've set up the URL correctly (newsapi.org)... I added the correct API to the URL. Tested it and it's parsing correctly but when trying to display it in OBS, it doesn't show. I'm so confused... Not the best at this so I'm sure it's me but I think I didn't everything correctly. I just want to show the latest news headlines in stream.

royshil commented 1 month ago

@TheCanvasNomad can you share the screens? like the data source and the output templates

TheCanvasNomad commented 1 month ago

Yes, give me a few. Thank youu for your response

TheCanvasNomad commented 1 month ago

Output Mapping in OBS OBS Screen of News API News API Testing in OBs News API Results in OBS News API Configuration in OBS Here are the screen shots and I'm pulling from NewsAPI.org

royshil commented 1 month ago

@TheCanvasNomad try {{body.title}} instead of using the {{output... {{body}} takes the complete JSON response