Created
August 9, 2011 12:41
-
-
Save yono/1133937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/youtube_video_url.cc 2011-08-09 21:33:43.000000000 +0900 | |
+++ b/src/youtube_video_url.cc 2011-08-09 21:32:44.000000000 +0900 | |
@@ -47,7 +47,7 @@ | |
#define YOUTUBE_URL_PARAMS_REGEXP "var swfHTML.*\\;" | |
#define YOUTUBE_URL_LOCATION_REGEXP "\nLocation: (http://[^\n]+)\n" | |
#define YOUTUBE_URL_WATCH "http://www.youtube.com/watch?v=" | |
-#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?" | |
+#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?asv=3&" | |
#define YOUTUBE_URL_PARAM_VIDEO_ID "video_id" | |
#define YOUTUBE_URL_PARAM_T_REGEXP ".*&t=([^&]+)&" | |
#define YOUTUBE_URL_PARAM_T "t" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment