Advertisement
deby1212

minhas lista

Sep 18th, 2019
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. #EXTM3U
  2.  
  3. *------------------------------------------------------------------------------------------------
  4. * @header_start
  5. * WebGrab+Plus ini for grabbing EPG data from TvGuide websites
  6. * @Site: hagah.com.br
  7. * @MinSWversion: V1.1.1/55.27
  8. * none
  9. * @Revision 7 - [08/11/2015] 1NSdbZVbpZDX
  10. * - small error in showsplit
  11. * @Revision 6 - [03/10/2015] Jan van Straaten
  12. * -completely new due to site changes
  13. * @Revision 5 - [08/01/2015] bsheepdog
  14. * site changes (www.hagah.com -> old.hagah.com)
  15. * @Revision 4 - [30/10/2014] Francis De Paemeleere
  16. * disable .channels.xml generation
  17. * @Revision 3 - [17/10/2014] Francis De Paemeleere
  18. * make one file + add new .channels.xml generation
  19. * @Revision 2 - [18/05/2012] Jan van Straaten
  20. * added channellist , separator in index_title
  21. * @Revision 1 - [] Jan van Straaten
  22. * small correction in separator in description
  23. * @Remarks:
  24. * @header_end
  25. **------------------------------------------------------------------------------------------------
  26.  
  27. site {url=hagah.com.br|timezone=Brazil/East|maxdays=7|cultureinfo=pt-BR|charset=utf-8|titlematchfactor=90|ratingsystem=BR|episodesystem=onscreen}
  28. url_index {url|http://www.hagah.com.br/tv/canal/|channel|?day=|urldate}
  29. urldate.format {datestring|yyyyMMdd}
  30. url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
  31.  
  32. *index_showsplit.scrub {regex(debug)||index_showsplit.scrub.+?||}
  33. index_showsplit.scrub {multi()|<ul class="list-unstyled tv__channel__show--list">|<li class="tv__channel__show--wrap"|</li>|</ul>}
  34. *index_showsplit.modify {addstart|} *for testing only
  35.  
  36. index_start.scrub {single|<time class="tv__channel__show__time"|datetime="|">|">}
  37. index_title.scrub {single|<h2 class="tv__channel__show__title">||</h2>|</h2>}
  38. index_episode.scrub {single|<span class="tv__channel__show__extra-info">||</span>|</span>}
  39. index_rating.scrub {single|<abbr class="tv__channel__show__classification|title="|">|</abbr>}
  40.  
  41. index_urlshow.scrub {single|<a href="||"|"}
  42. index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages
  43. title.scrub {regex||<h1 class=\"show__title\">(.+?)</h1>||}
  44. title.modify {cleanup(tags="<small""</small>")}
  45. description.scrub {regex||<p class="show__description">(.+?)</p>||}
  46. director.scrub {regex||<dt class=\"show__people__title\">Dirigido por:</dt>.+?\">(.+?)</dd>||}
  47. director.modify {replace|,|\|}
  48. actor.scrub {regex||<dt class=\"show__people__title\">Elenco:</dt>.+?\">(.+?)</dd>||}
  49. actor.modify {replace|,|\|}
  50. category.scrub {regex||Categoria:</dt>.+?\">(.+?)</dd>||}
  51. category.scrub {regex||Gênero:</dt>.+?\">(.+?)</dd>||}
  52.  
  53. ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  54. ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
  55. **
  56. ** @auto_xml_channel_start
  57. ** adapt uf=rj to any other region setting of your choice.
  58. ** Read hagah.com.br_info.howtochangeregion.txt
  59. *url_index{url|http://www.|hagah.com.br/tv/|subpage|?uf=rj&limit=0}
  60. *subpage.format {list|ctbc-tv|claro-tv|gvt-tv|net|nossa-tv|orm-cabo|oi-tv|sky|sim-tv|tv-aberta|tv-alphaville|tvn|viamax|vivo}
  61. *index_site_channel.scrub {regex||<li class=\"row tv__guide--line\">.+?<figcaption class=\"tv__guide__channel__name\">(.+?)</figcaption>||} * channel name
  62. *index_site_id.scrub {regex||<li class=\"row tv__guide--line\">.+?<a href=\"http://www.hagah.com.br/tv/canal/(.+?)\"||} * channel ID
  63. *scope.range {(channellist)|end}
  64. *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
  65. *end_scope
  66. ** @auto_xml_channel_end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement