{"id":19,"date":"2007-01-06T11:00:00","date_gmt":"2007-01-06T11:00:00","guid":{"rendered":"http:\/\/codeinmybug.wordpress.com\/2007\/01\/06\/grabbing-video-from-youtube\/"},"modified":"2015-03-11T22:38:21","modified_gmt":"2015-03-11T20:38:21","slug":"grabbing-video-from-youtube","status":"publish","type":"post","link":"https:\/\/projectbee.org\/blog\/archive\/grabbing-video-from-youtube\/","title":{"rendered":"Grabbing Video from Youtube."},"content":{"rendered":"<p><strong><font color=\"#808000\">Update: This hack doesn&#8217;t work any more. I&#8217;ll post the latest pretty soon. Hopefully. \ud83d\ude42<\/font><\/strong><\/p>\n<p>I loved this performance by Tina &amp; Hussain. It left me breathless, and wet-ted my eyes  :D.<\/p>\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"525\" height=\"296\" src=\"https:\/\/www.youtube.com\/embed\/abtZxIQZNCM?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<p>I wanted it s badly. Did a l&#8217;ill research, found a hack, and here I am, sharing [&amp; open sourcing it \ud83d\ude09 ].<br \/>\nYou can find various sites and &#8216;n&#8217; number of tools to grab your favorite video from <a href=\"http:\/\/www.youtube.com\/\">Youtube.<\/a><br \/>\nThere are definitely simpler ways, including a javascript. However, I liked this manual way of doing the job. It let&#8217;s me see where&#8217;s what&#8230; \ud83d\ude42<\/p>\n<p>1. Goto the page containing the video.<br \/>\n2. View page source. [Ctrl+U in firefox]\n3. Search [Ctrl+F] for &#8220;<span style=\"font-weight:bold;\">player2.swf?<\/span>&#8220;. It&#8217;d be something like &#8220;<span style=\"font-weight:bold;\">\/player2.swf?video_id=jksdjs&#8230;.<\/span>&#8220;.<br \/>\n4. Copy the part after &#8220;<span style=\"font-weight:bold;\">?<\/span>&#8220;, i.e., &#8220;<span style=\"font-weight:bold;\">video_id=jksdjs&#8230;.<\/span>&#8220;.<br \/>\n5. Append it after &#8220;<span style=\"font-weight:bold;\">www.youtube.com\/get_video.php?<\/span>&#8220;. It&#8217;d look something like &#8220;<span style=\"font-weight:bold;\">www.youtube.com\/get_video.php?video_id=jksdjs&#8230;.<\/span>&#8220;.<br \/>\n6. Paste your string in the address bar of your browser and hit enter.<br \/>\n7. Please note that the video that we download is an flv file [and needs &#8220;.flv&#8221; to be manually added.]\n8. If you don&#8217;t have an flv player, get it from <a href=\"http:\/\/www.download.com\/FLV-Player\/3000-2139_4-10467081.html\/\">HERE<\/a>.<\/p>\n<p>I hope it helps you get what you want I am not sure as to how long it&#8217;d work as the YouTube guys do not like people to download the videos and keep changing the settings. [ I am still wondering why!!!]\nIf the above mentioned steps do not help, please leave comments.<\/p>\n<p>Psst.: I am planning to write a script to do it automatically. However, I am not sure if I want to do it in Perl or Java. [Perhaps, I&#8217;ll code in perl and ask my students to do it in Java \ud83d\ude42 ]\n","protected":false},"excerpt":{"rendered":"<p>Update: This hack doesn&#8217;t work any more. I&#8217;ll post the latest pretty soon. Hopefully. \ud83d\ude42 I loved this performance by Tina &amp; Hussain. It left me breathless, and wet-ted my eyes :D. I wanted it s badly. Did a l&#8217;ill research, found a hack, and here I am, sharing [&amp; open sourcing it \ud83d\ude09 ]. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/projectbee.org\/blog\/archive\/grabbing-video-from-youtube\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Grabbing Video from Youtube.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[23,24,47,52],"tags":[59],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-guide","category-hack","category-script","category-video","tag-youtube"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pf2XR-j","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":1,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":370,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions\/370"}],"wp:attachment":[{"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectbee.org\/blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}