#include <ScraperUrl.h>
|
| | CScraperUrl (const std::string &) |
| |
| | CScraperUrl (const TiXmlElement *) |
| |
| | CScraperUrl () |
| |
| | ~CScraperUrl () |
| |
| bool | Parse () |
| |
| bool | ParseString (std::string) |
| |
| bool | ParseElement (const TiXmlElement *) |
| |
| bool | ParseEpisodeGuide (std::string strUrls) |
| |
| void | AddElement (std::string url, std::string aspect="", std::string referrer="", std::string cache="", bool post=false, bool isgz=false, int season=-1) |
| |
| const SUrlEntry | GetFirstThumb (const std::string &type="") const |
| |
| const SUrlEntry | GetSeasonThumb (int season, const std::string &type="") const |
| |
| unsigned int | GetMaxSeasonThumb () const |
| |
| void | GetThumbURLs (std::vector< std::string > &thumbs, const std::string &type="", int season=-1, bool unique=false) const |
| | fetch the full URL (including referrer) of thumbs More...
|
| |
| void | Clear () |
| |
◆ URLTYPES
| Enumerator |
|---|
| URL_TYPE_GENERAL | |
| URL_TYPE_SEASON | |
◆ CScraperUrl() [1/3]
| CScraperUrl::CScraperUrl |
( |
const std::string & |
strUrl | ) |
|
|
explicit |
◆ CScraperUrl() [2/3]
| CScraperUrl::CScraperUrl |
( |
const TiXmlElement * |
element | ) |
|
|
explicit |
◆ CScraperUrl() [3/3]
| CScraperUrl::CScraperUrl |
( |
| ) |
|
◆ ~CScraperUrl()
| CScraperUrl::~CScraperUrl |
( |
| ) |
|
|
default |
◆ AddElement()
| void CScraperUrl::AddElement |
( |
std::string |
url, |
|
|
std::string |
aspect = "", |
|
|
std::string |
referrer = "", |
|
|
std::string |
cache = "", |
|
|
bool |
post = false, |
|
|
bool |
isgz = false, |
|
|
int |
season = -1 |
|
) |
| |
◆ Clear()
| void CScraperUrl::Clear |
( |
| ) |
|
◆ Get()
| bool CScraperUrl::Get |
( |
const SUrlEntry & |
scrURL, |
|
|
std::string & |
strHTML, |
|
|
XFILE::CCurlFile & |
http, |
|
|
const std::string & |
cacheContext |
|
) |
| |
|
static |
◆ GetFirstThumb()
◆ GetMaxSeasonThumb()
| unsigned int CScraperUrl::GetMaxSeasonThumb |
( |
| ) |
const |
◆ GetSeasonThumb()
◆ GetThumbURL()
fetch the full URL (including referrer) of a thumb
- Parameters
-
| URL | entry to use to create the full URL |
- Returns
- the full URL, including referrer
◆ GetThumbURLs()
| void CScraperUrl::GetThumbURLs |
( |
std::vector< std::string > & |
thumbs, |
|
|
const std::string & |
type = "", |
|
|
int |
season = -1, |
|
|
bool |
unique = false |
|
) |
| const |
fetch the full URL (including referrer) of thumbs
- Parameters
-
| thumbs | [out] vector of thumb URLs to fill |
| type | the type of thumb URLs to fetch, if empty (the default) picks any |
| season | number of season that we want thumbs for, -1 indicates no season (the default) |
| unique | avoid adding duplicate URLs when adding to a thumbs vector with existing items |
◆ Parse()
| bool CScraperUrl::Parse |
( |
| ) |
|
◆ ParseElement()
| bool CScraperUrl::ParseElement |
( |
const TiXmlElement * |
element | ) |
|
◆ ParseEpisodeGuide()
| bool CScraperUrl::ParseEpisodeGuide |
( |
std::string |
strUrls | ) |
|
◆ ParseString()
| bool CScraperUrl::ParseString |
( |
std::string |
strUrl | ) |
|
◆ m_spoof
| std::string CScraperUrl::m_spoof |
◆ m_url
◆ m_xml
| std::string CScraperUrl::m_xml |
◆ relevance
| double CScraperUrl::relevance |
◆ strId
| std::string CScraperUrl::strId |
◆ strTitle
| std::string CScraperUrl::strTitle |
The documentation for this class was generated from the following files: