Documentation ¶
Index ¶
Constants ¶
View Source
const ( RegExpVideoId = "^html5-p[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$" RegExpXmlDataUrl = "^return BRavFramework.register.*.setup\\(\\{dataURL:'(http?://.*.xml)'\\}\\)\\);$" )
View Source
const ( // XPathEpisodesOverviewPagePageItems to retrieve pages where videos are schon XPathEpisodesOverviewPagePageItems = "//a[@class='pageItem']/@href" // XPathEpisodesItems to retrieve video urls from a page XPathEpisodesItems = "" /* 161-byte string literal not displayed */ // XPathVideoPageVideoTags to find all video tags on final video page XPathVideoPageVideoTags = "//video/@id" // XPathVideoPageXmlDataTag to find the concrete element where xml url can be extracted, %s is placeholder for video id XPathVideoPageXmlDataTag = "//a[@id='%s']/@onclick" // XPathXmlSeriesTitle title of series XPathXmlSeriesTitle = "//avDocument/topline" // XPathXmlEpisodeTitle title of episode XPathXmlEpisodeTitle = "//avDocument/headline" // XPathXmlEpisodeLanguageCode language of episode XPathXmlEpisodeLanguageCode = "//avDocument/language" // XPathXmlEpisodeDescription episodes description XPathXmlEpisodeDescription = "//avDocument/broadcast/broadcastDescription" // XPathXmlAssets documents assets where video url can be found XPathXmlAssets = "//avDocument/assets/asset" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.