{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/10691","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/10691/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/10691/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/10691/events","html_url":"https://github.com/rg3/youtube-dl/pull/10691","id":177628236,"number":10691,"title":"Add CLI options to filter usable extractors","user":{"login":"danielkza","id":747342,"avatar_url":"https://avatars.githubusercontent.com/u/747342?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkza","html_url":"https://github.com/danielkza","followers_url":"https://api.github.com/users/danielkza/followers","following_url":"https://api.github.com/users/danielkza/following{/other_user}","gists_url":"https://api.github.com/users/danielkza/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkza/subscriptions","organizations_url":"https://api.github.com/users/danielkza/orgs","repos_url":"https://api.github.com/users/danielkza/repos","events_url":"https://api.github.com/users/danielkza/events{/privacy}","received_events_url":"https://api.github.com/users/danielkza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-18T04:12:03Z","updated_at":"2016-09-18T12:00:13Z","closed_at":"2016-09-18T12:00:13Z","pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/10691","html_url":"https://github.com/rg3/youtube-dl/pull/10691","diff_url":"https://github.com/rg3/youtube-dl/pull/10691.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/10691.patch"},"body":"### Before submitting a *pull request* make sure you have:\r\n- [x] At least skimmed through [adding new extractor tutorial](https://github.com/rg3/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/rg3/youtube-dl#youtube-dl-coding-conventions) sections\r\n- [x] [Searched](https://github.com/rg3/youtube-dl/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests\r\n\r\n### What is the purpose of your *pull request*?\r\n- [ ] Bug fix\r\n- [ ] New extractor\r\n- [x] New feature\r\n\r\n---\r\n\r\n### Description of your *pull request* and other information\r\n\r\nAdd `--enable-extractors` and `--disable-extractors` options, which make\r\nit possible to restrict the set of extractors to be considered when\r\ndownloading. This is useful to handle URLs that match multiple\r\nextractors (although this should be rare), or only using particular\r\nmodes of some extractors (for example, only live videos for Twitch,\r\nenabling only `twitch:stream`).\r\n\r\nBoth options can be specified multiple times, and each argument is\r\ninterpreted as a comma-separated list of fnmatch patterns, to allow the\r\nuse of wildcards. Comparisons to extractor names are case-insensitive.\r\nThe order of the arguments is not relevant - matching always proceeds as\r\nfollows:\r\n\r\n- Initialize the set of considered extractors to all available\r\n- If --enable-extractors is specified, remove all extractors that\r\n*don't* match those patterns from consideration\r\n- If --disable-extractors is specified, remove all extractors that *do*\r\nmatch those patterns from consideration\r\n- If --age-limit is specified, remove all extractors that are not\r\nsuitable from consideration\r\n\r\nTherefore, disables and the age limit take precedende over enables."},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/247843676","html_url":"https://github.com/rg3/youtube-dl/pull/10691#issuecomment-247843676","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/10691","id":247843676,"user":{"login":"dstftw","id":1908898,"avatar_url":"https://avatars.githubusercontent.com/u/1908898?v=3","gravatar_id":"","url":"https://api.github.com/users/dstftw","html_url":"https://github.com/dstftw","followers_url":"https://api.github.com/users/dstftw/followers","following_url":"https://api.github.com/users/dstftw/following{/other_user}","gists_url":"https://api.github.com/users/dstftw/gists{/gist_id}","starred_url":"https://api.github.com/users/dstftw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstftw/subscriptions","organizations_url":"https://api.github.com/users/dstftw/orgs","repos_url":"https://api.github.com/users/dstftw/repos","events_url":"https://api.github.com/users/dstftw/events{/privacy}","received_events_url":"https://api.github.com/users/dstftw/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T12:00:13Z","updated_at":"2016-09-18T12:00:13Z","body":"It does not until it works in all cases in uniform way. At least I'm not going to accept semi-broken options.\r\nIn case of twitch all that should be done is removing fallback to profile extraction in stream extractor that AFAIR has been added because previously profile videos has been displayed on the same page as stream (now they are not)."}}
{"actor":{"display_login":"dstftw"}}