t3knoid / MagyarTV

A Hungarian IPTV Viewer
0 stars 0 forks source link

Create a TVGuide database #5

Open t3knoid opened 5 years ago

t3knoid commented 5 years ago

Scrape the page for example, http://tv.animare.hu/default.aspx?c=2&t=20190112. Use sqlite to store data possibly.

Time

OuterHTML = <font style="vertical-align: inherit;">04:15 </font>
Element = <font style="vertical-align: inherit;">04:15 </font>
Selector = #tv0 > div:nth-child(2) > div.w33 > font > font
XPath = //*[@id="tv0"]/div[2]/div[2]/font/font

Summary

OuterHTML = <font style="vertical-align: inherit;">Tuti gimi: Once it's all over</font>
Element = <font style="vertical-align: inherit;">Tuti gimi: Once it's all over</font>
Selector = #tv0 > div:nth-child(2) > div.w33 > a > font > font
Xpath = //*[@id="tv0"]/div[2]/div[2]/a/font/font

Description

OuterHTML = <font style="vertical-align: inherit;">Original sound digitally Andy must travel home to New Zealand, but may not be able to return to the States ...</font>
Element = <font style="vertical-align: inherit;">Original sound digitally Andy must travel home to New Zealand, but may not be able to return to the States ...</font>
Selector = #tv0 > div:nth-child(2) > div.w5 > font > font
Xpath = //*[@id="tv0"]/div[2]/div[4]/font/font
t3knoid commented 5 years ago

Use this plugin https://chrome.google.com/webstore/detail/scraper/mbigbapnjcgaffohmbkdlecaccepngjd

http://okfnlabs.org/handbook/data/patterns/scraper-extension-for-chrome/