{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/6837","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6837/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6837/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6837/events","html_url":"https://github.com/rg3/youtube-dl/issues/6837","id":106129558,"number":6837,"title":"--search feature","user":{"login":"aurium","id":30254,"avatar_url":"https://avatars.githubusercontent.com/u/30254?v=3","gravatar_id":"","url":"https://api.github.com/users/aurium","html_url":"https://github.com/aurium","followers_url":"https://api.github.com/users/aurium/followers","following_url":"https://api.github.com/users/aurium/following{/other_user}","gists_url":"https://api.github.com/users/aurium/gists{/gist_id}","starred_url":"https://api.github.com/users/aurium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurium/subscriptions","organizations_url":"https://api.github.com/users/aurium/orgs","repos_url":"https://api.github.com/users/aurium/repos","events_url":"https://api.github.com/users/aurium/events{/privacy}","received_events_url":"https://api.github.com/users/aurium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T04:37:50Z","updated_at":"2015-09-12T06:33:14Z","closed_at":null,"body":"Allows the user to search for videos by the command line.\r\n\r\n## Basic usage example (proposal)\r\n\r\n```\r\n$ youtube-dl --search \"Larry David\"\r\nyoutu.be/G-3fCCL0ASE\r\nLarry David Explains His Parking Lot Meltdown - CONAN on TBS\r\nby Team Coco - 2013-10-11 - Tags: Larry, TBS\r\nLarry David recently had a meltdown in parking garage, as it turns out he's not a good swiper.\r\n\r\nyoutu.be/DbvbnzQFjzw\r\nLarry David Reacts to Jennifer Lawrence’s Crush on Him – The New Yorker Festival\r\nby The New Yorker - 2015-01-02 - Tags: Larry David, Jennifer Lawrence, Love\r\nIn a recent interview, Jennifer Lawrence proudly stated that she has a crush on Larry David. David Remnick asks him for his ...\r\n\r\nyoutu.be/d3ji7BekPUw\r\nLarry David Pissed Off - Curb Your Enthusiasm Season 7\r\nby duanew86 - 2013-11-12 - Tags: (none)\r\nBest moments of Larry David getting pissed off of season 7 of Curb Your Enthusiasm.\r\n```\r\n\r\n#### Entry structure:\r\n```\r\nline 1: smart minimal url to use with youtube-dl\r\nline 2: video title\r\nline 3: meta-data\r\nline 4: description\r\n```\r\n* Good for humans and for scripts;\r\n* May use terminal colors. *Example: blue (as default web links) to the line 1; gray to line 3.*\r\n\r\n## Related Parameters\r\n`--sources=<comma separated list>` — where to search by videos. Youtube is default, \"all\" is valid and means \"all\".\r\n`--felling-lucky` — print the search result and downloads the first found.\r\n`--felling-lucky=<number>` — print the search result and downloads the <number> first found.\r\n`--felling-lucky=all` — print the search result and downloads all the found list.\r\n\r\n## Example with --sources\r\n\r\n```\r\n$ youtube-dl --search \"Larry David\" --sources=youtube,vimeo\r\nyoutu.be/G-3fCCL0ASE\r\nLarry David Explains His Parking Lot Meltdown - CONAN on TBS\r\nby Team Coco - 2013-10-11 - Tags: Larry, TBS\r\nLarry David recently had a meltdown in parking garage, as it turns out he's not a good swiper.\r\n\r\nyoutu.be/DbvbnzQFjzw\r\nLarry David Reacts to Jennifer Lawrence’s Crush on Him – The New Yorker Festival\r\nby The New Yorker - 2015-01-02 - Tags: Larry David, Jennifer Lawrence, Love\r\nIn a recent interview, Jennifer Lawrence proudly stated that she has a crush on Larry David. David Remnick asks him for his ...\r\n\r\nvimeo.com/9430708\r\nA Special Welcome Message from Larry David\r\nby GigglechickInteractive - 2010-08-09 - Tags: (none)\r\nLarry David welcomes you to Jeff Garlin's website\r\n\r\nvimeo.com/15817243\r\nJews for Jesus Larry King Live\r\nby Jews for Jesus - 2011-08-09 - Tags: Jesus\r\nin 2000 David Brickner was invited to represent Jews for Jesus on the Larry King Live show. This debate has been ongoing for 2000 years.\r\n```"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/139732786","html_url":"https://github.com/rg3/youtube-dl/issues/6837#issuecomment-139732786","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6837","id":139732786,"user":{"login":"yan12125","id":1937689,"avatar_url":"https://avatars.githubusercontent.com/u/1937689?v=3","gravatar_id":"","url":"https://api.github.com/users/yan12125","html_url":"https://github.com/yan12125","followers_url":"https://api.github.com/users/yan12125/followers","following_url":"https://api.github.com/users/yan12125/following{/other_user}","gists_url":"https://api.github.com/users/yan12125/gists{/gist_id}","starred_url":"https://api.github.com/users/yan12125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan12125/subscriptions","organizations_url":"https://api.github.com/users/yan12125/orgs","repos_url":"https://api.github.com/users/yan12125/repos","events_url":"https://api.github.com/users/yan12125/events{/privacy}","received_events_url":"https://api.github.com/users/yan12125/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T06:33:14Z","updated_at":"2015-09-12T06:33:14Z","body":"Searching on YouTube can be achieved via:\r\n```\r\nyoutube-dl \"ytsearch:Keyword\"\r\n```\r\nVimeo search is not implemented, though. Searching is a site-specific feature, and currently only Google Search, YouTube and Yahoo are supported."}}