2011-12-09, 17:32
I'm working on an addon that lets you browse TV Adverts. Currently, it lets you browse by country, brand, and business sector.
At first this was a tongue in cheek piece of work, but frankly, after watching some of the ads, it is actually kind of fun.
I'm new to coding and python, so bear with me. This is currently just a scraper/browser for the website http://www.advertolog.com.
To do:
1. Add the ability to browse the "Awards" section
2. Add the ability to browse the "Current Top" section
3. Add the ability to play a random advert based on addon settings (preferred country, preferred year)
4. Add script functionality so that it can be called by other addons, and also autoplay ads before/after playback or during paused videos (based on the settings)
5. Possibly scrape and play from other sites like adsoftheworld.com
Anyways, I'm posting this as a placeholder to avoid duplicate work by others (because, you know....everybody wants to make an addon to watch tv commercials) .
Here is the WIKI link..simply install my repo, then install the addon and browse.
Installing LordIndy's repo and addon
Bugs:
- some HTML formatting issues when displaying titles
- Next page detection (may be fixed)
- Some "sections" get parsed for only TV ads (not print media), so the page display shows none or only a few links, with a next page link. Will need to 'scrape ahead" in these cases so that users don't have to keep "next paging"
At first this was a tongue in cheek piece of work, but frankly, after watching some of the ads, it is actually kind of fun.
I'm new to coding and python, so bear with me. This is currently just a scraper/browser for the website http://www.advertolog.com.
To do:
1. Add the ability to browse the "Awards" section
2. Add the ability to browse the "Current Top" section
3. Add the ability to play a random advert based on addon settings (preferred country, preferred year)
4. Add script functionality so that it can be called by other addons, and also autoplay ads before/after playback or during paused videos (based on the settings)
5. Possibly scrape and play from other sites like adsoftheworld.com
Anyways, I'm posting this as a placeholder to avoid duplicate work by others (because, you know....everybody wants to make an addon to watch tv commercials) .
Here is the WIKI link..simply install my repo, then install the addon and browse.
Installing LordIndy's repo and addon
Bugs:
- some HTML formatting issues when displaying titles
- Next page detection (may be fixed)
- Some "sections" get parsed for only TV ads (not print media), so the page display shows none or only a few links, with a next page link. Will need to 'scrape ahead" in these cases so that users don't have to keep "next paging"