Skip to content

Commit

Permalink
remove api key from source code
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjibone authored Jan 24, 2020
1 parent 43f279d commit 276d020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TVDBEpisodeSearch.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ - (id)init {
- (void)findEpisodeInfoForSeriesID:(NSString*)seriesID Season:(NSInteger)seasonNo Episode:(NSInteger)episodeNo {
// Set up the url to get the episode info.
NSURL *infoURL = [[NSURL alloc] initWithString:
[NSString stringWithFormat:@"http://www.thetvdb.com/api/7F6CCD965D3EF4EC/series/%@/default/%ld/%ld/en.xml", seriesID, seasonNo, episodeNo]];
[NSString stringWithFormat:@"http://www.thetvdb.com/api/<your-api-key>/series/%@/default/%ld/%ld/en.xml", seriesID, seasonNo, episodeNo]];

// Create a XML parser to search through the returned results for us.
NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:infoURL];
Expand Down

0 comments on commit 276d020

Please sign in to comment.