Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #55 from afestein/https
Browse files Browse the repository at this point in the history
Use HTTPS for the YouTube URLs
  • Loading branch information
hellozimi committed Nov 3, 2015
2 parents b14b64c + 20a073e commit a4beaaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions YoutubeParser/Classes/HCYoutubeParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#import "HCYoutubeParser.h"

#define kYoutubeInfoURL @"http://www.youtube.com/get_video_info?video_id="
#define kYoutubeThumbnailURL @"http://img.youtube.com/vi/%@/%@.jpg"
#define kYoutubeDataURL @"http://gdata.youtube.com/feeds/api/videos/%@?alt=json"
#define kYoutubeInfoURL @"https://www.youtube.com/get_video_info?video_id="
#define kYoutubeThumbnailURL @"https://img.youtube.com/vi/%@/%@.jpg"
#define kYoutubeDataURL @"https://gdata.youtube.com/feeds/api/videos/%@?alt=json"
#define kUserAgent @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4"

@interface NSString (QueryString)
Expand Down

0 comments on commit a4beaaf

Please sign in to comment.