Skip to content

Commit

Permalink
Change thumbnailURLs to contain NSURLs instead of NSStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
SoneeJohn committed Dec 27, 2015
1 parent e179efc commit 385ae37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion YTVimeoExtractor/YTVimeoVideo.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ - (void)extractVideoInfoWithCompletionHandler:(void (^)(NSError *error))completi
for (NSString *key in thumbnailsInfo) {

NSInteger thumbnailquality = [key integerValue];
NSString *thumbnailURL = thumbnailsInfo[key];
NSString *thumbnailString = thumbnailsInfo[key];
NSURL *thumbnailURL = [NSURL URLWithString:thumbnailString];
thumbnailURLs [@(thumbnailquality)] = thumbnailURL;
}

Expand Down

0 comments on commit 385ae37

Please sign in to comment.