diff options
Diffstat (limited to 'thetvdbscraper')
| -rw-r--r-- | thetvdbscraper/thetvdbscraper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thetvdbscraper/thetvdbscraper.c b/thetvdbscraper/thetvdbscraper.c index c0ab68b..040baf6 100644 --- a/thetvdbscraper/thetvdbscraper.c +++ b/thetvdbscraper/thetvdbscraper.c @@ -78,6 +78,8 @@ cTVDBSeries *cTVDBScraper::ReadSeries(string seriesName) { url << mirrors->GetMirrorXML() << "/api/GetSeries.php?seriesname=" << CurlEscape(seriesEscape.str().c_str()) << "&language=" << language.c_str();
string seriesXML;
cTVDBSeries *series = NULL;
+ if (config.enableDebug)
+ esyslog("tvscraper: calling %s", url.str().c_str());
if (CurlGetUrl(url.str().c_str(), &seriesXML)) {
series = new cTVDBSeries(seriesXML);
series->ParseXML();
|
