And i am making a YoutubeRSS skin which shows the latest uploads from a channel.
Yeah, Youtube has RSS!
Not finished skin: The feed has everything listed that i need, EXCEPT the avatar for the channel.
https://www.youtube.com/feeds/videos.xml?channel_id=UCD-4g5w1h8xQpLaNS_ghU4g
Right now i am just parsing the image url i got from right-clicking on the avatar and selecting 'Copy image address'
This is not optimal!
I had to do it that way because iv'e had no luck just straight parsing the image address from the channel.
Please take a look and see if it would even be possible to straight parse it from the channel.
Im getting better at parsing by the min.
But i figured ill try and ask some of you guys with a lot more experience.
Inspecting channel HTML in Google Chrome: HTML Code:
Code: Select all
<img id="img" class="style-scope yt-img-shadow" width="80" src="https://yt3.ggpht.com/-Xu7S2jroemo/AAAAAAAAAAI/AAAAAAAAAAA/rgrIxGlIIWQ/s288-c-k-no-mo-rj-c0xffffff/photo.jpg">
Code: Select all
[mAvatar]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=https://www.youtube.com/channel/UCD-4g5w1h8xQpLaNS_ghU4g
RegExp=(?siU)src="(.*)">
UpdateRate=1800
UpdateDivider=-1
StringIndex=1
Download=1
DownloadFile="Avatar.jpg"