{"action":"created","comment":{"url":"https://api.github.com/repos/scrapy/scrapy/pulls/comments/91981662","pull_request_review_id":12490742,"id":91981662,"diff_hunk":"@@ -368,11 +376,31 @@ given. Also supports UNIX-style local file paths, either relative with\n ``./`` or ``../`` prefixes or absolute file paths.\n See :ref:`topics-shell` for more info.\n \n+Supported options:\n+\n+* ``--spider=SPIDER``: bypass spider autodetection and force use of specific spider\n+\n+* ``-c code``: evaluate the code in the shell, print the result and exit\n+\n+* ``--no-redirect``: do not follow HTTP 3xx redirects (default is to follow them)","path":"docs/topics/commands.rst","position":25,"original_position":25,"commit_id":"7d1783603251923bb549d34a64d43952fe03b3bc","original_commit_id":"7d1783603251923bb549d34a64d43952fe03b3bc","user":{"login":"kmike","id":107893,"avatar_url":"https://avatars.githubusercontent.com/u/107893?v=3","gravatar_id":"","url":"https://api.github.com/users/kmike","html_url":"https://github.com/kmike","followers_url":"https://api.github.com/users/kmike/followers","following_url":"https://api.github.com/users/kmike/following{/other_user}","gists_url":"https://api.github.com/users/kmike/gists{/gist_id}","starred_url":"https://api.github.com/users/kmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmike/subscriptions","organizations_url":"https://api.github.com/users/kmike/orgs","repos_url":"https://api.github.com/users/kmike/repos","events_url":"https://api.github.com/users/kmike/events{/privacy}","received_events_url":"https://api.github.com/users/kmike/received_events","type":"User","site_admin":false},"body":"Sorry, my original comment was plain wrong, I can see that now :)","created_at":"2016-12-12T16:23:39Z","updated_at":"2016-12-12T16:23:39Z","html_url":"https://github.com/scrapy/scrapy/pull/2410#discussion_r91981662","pull_request_url":"https://api.github.com/repos/scrapy/scrapy/pulls/2410","_links":{"self":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/comments/91981662"},"html":{"href":"https://github.com/scrapy/scrapy/pull/2410#discussion_r91981662"},"pull_request":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/2410"}}},"pull_request":{"url":"https://api.github.com/repos/scrapy/scrapy/pulls/2410","id":95172820,"html_url":"https://github.com/scrapy/scrapy/pull/2410","diff_url":"https://github.com/scrapy/scrapy/pull/2410.diff","patch_url":"https://github.com/scrapy/scrapy/pull/2410.patch","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/2410","number":2410,"state":"open","locked":false,"title":"Transparently handle redirections in fetch and shell","user":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"body":"Fixes #2290\r\n\r\nI added `--no-redirect` option to `scrapy fetch` and `scrapy shell` to revert to previous behavior.\r\n\r\nTo do:\r\n\r\n- [x] add tests for `scrapy shell` changes\r\n- [x] document the new options and arguments","created_at":"2016-11-24T12:47:53Z","updated_at":"2016-12-12T16:23:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37c16088d6222605a993785f5da5babedef606b6","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/scrapy/scrapy/milestones/15","html_url":"https://github.com/scrapy/scrapy/milestone/15","labels_url":"https://api.github.com/repos/scrapy/scrapy/milestones/15/labels","id":1977308,"number":15,"title":"v1.4","description":"","creator":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":1,"state":"open","created_at":"2016-09-01T09:43:32Z","updated_at":"2016-12-07T15:08:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/scrapy/scrapy/pulls/2410/commits","review_comments_url":"https://api.github.com/repos/scrapy/scrapy/pulls/2410/comments","review_comment_url":"https://api.github.com/repos/scrapy/scrapy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/2410/comments","statuses_url":"https://api.github.com/repos/scrapy/scrapy/statuses/7d1783603251923bb549d34a64d43952fe03b3bc","head":{"label":"redapple:fetch-transparent-redirect","ref":"fetch-transparent-redirect","sha":"7d1783603251923bb549d34a64d43952fe03b3bc","user":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"repo":{"id":3958459,"name":"scrapy","full_name":"redapple/scrapy","owner":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redapple/scrapy","description":"Scrapy, a fast high-level screen scraping and web crawling framework for Python.","fork":true,"url":"https://api.github.com/repos/redapple/scrapy","forks_url":"https://api.github.com/repos/redapple/scrapy/forks","keys_url":"https://api.github.com/repos/redapple/scrapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redapple/scrapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redapple/scrapy/teams","hooks_url":"https://api.github.com/repos/redapple/scrapy/hooks","issue_events_url":"https://api.github.com/repos/redapple/scrapy/issues/events{/number}","events_url":"https://api.github.com/repos/redapple/scrapy/events","assignees_url":"https://api.github.com/repos/redapple/scrapy/assignees{/user}","branches_url":"https://api.github.com/repos/redapple/scrapy/branches{/branch}","tags_url":"https://api.github.com/repos/redapple/scrapy/tags","blobs_url":"https://api.github.com/repos/redapple/scrapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redapple/scrapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redapple/scrapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/redapple/scrapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redapple/scrapy/statuses/{sha}","languages_url":"https://api.github.com/repos/redapple/scrapy/languages","stargazers_url":"https://api.github.com/repos/redapple/scrapy/stargazers","contributors_url":"https://api.github.com/repos/redapple/scrapy/contributors","subscribers_url":"https://api.github.com/repos/redapple/scrapy/subscribers","subscription_url":"https://api.github.com/repos/redapple/scrapy/subscription","commits_url":"https://api.github.com/repos/redapple/scrapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/redapple/scrapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/redapple/scrapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/redapple/scrapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/redapple/scrapy/contents/{+path}","compare_url":"https://api.github.com/repos/redapple/scrapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redapple/scrapy/merges","archive_url":"https://api.github.com/repos/redapple/scrapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redapple/scrapy/downloads","issues_url":"https://api.github.com/repos/redapple/scrapy/issues{/number}","pulls_url":"https://api.github.com/repos/redapple/scrapy/pulls{/number}","milestones_url":"https://api.github.com/repos/redapple/scrapy/milestones{/number}","notifications_url":"https://api.github.com/repos/redapple/scrapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redapple/scrapy/labels{/name}","releases_url":"https://api.github.com/repos/redapple/scrapy/releases{/id}","deployments_url":"https://api.github.com/repos/redapple/scrapy/deployments","created_at":"2012-04-07T15:00:35Z","updated_at":"2016-11-10T13:07:05Z","pushed_at":"2016-12-09T15:56:46Z","git_url":"git://github.com/redapple/scrapy.git","ssh_url":"git@github.com:redapple/scrapy.git","clone_url":"https://github.com/redapple/scrapy.git","svn_url":"https://github.com/redapple/scrapy","homepage":"http://scrapy.org","size":15050,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"scrapy:master","ref":"master","sha":"a07400ce0a9e1fcbd305543809f7c120cac7e27b","user":{"login":"scrapy","id":733635,"avatar_url":"https://avatars.githubusercontent.com/u/733635?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapy","html_url":"https://github.com/scrapy","followers_url":"https://api.github.com/users/scrapy/followers","following_url":"https://api.github.com/users/scrapy/following{/other_user}","gists_url":"https://api.github.com/users/scrapy/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapy/subscriptions","organizations_url":"https://api.github.com/users/scrapy/orgs","repos_url":"https://api.github.com/users/scrapy/repos","events_url":"https://api.github.com/users/scrapy/events{/privacy}","received_events_url":"https://api.github.com/users/scrapy/received_events","type":"Organization","site_admin":false},"repo":{"id":529502,"name":"scrapy","full_name":"scrapy/scrapy","owner":{"login":"scrapy","id":733635,"avatar_url":"https://avatars.githubusercontent.com/u/733635?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapy","html_url":"https://github.com/scrapy","followers_url":"https://api.github.com/users/scrapy/followers","following_url":"https://api.github.com/users/scrapy/following{/other_user}","gists_url":"https://api.github.com/users/scrapy/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapy/subscriptions","organizations_url":"https://api.github.com/users/scrapy/orgs","repos_url":"https://api.github.com/users/scrapy/repos","events_url":"https://api.github.com/users/scrapy/events{/privacy}","received_events_url":"https://api.github.com/users/scrapy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapy/scrapy","description":"Scrapy, a fast high-level web crawling & scraping framework for Python.","fork":false,"url":"https://api.github.com/repos/scrapy/scrapy","forks_url":"https://api.github.com/repos/scrapy/scrapy/forks","keys_url":"https://api.github.com/repos/scrapy/scrapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapy/scrapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapy/scrapy/teams","hooks_url":"https://api.github.com/repos/scrapy/scrapy/hooks","issue_events_url":"https://api.github.com/repos/scrapy/scrapy/issues/events{/number}","events_url":"https://api.github.com/repos/scrapy/scrapy/events","assignees_url":"https://api.github.com/repos/scrapy/scrapy/assignees{/user}","branches_url":"https://api.github.com/repos/scrapy/scrapy/branches{/branch}","tags_url":"https://api.github.com/repos/scrapy/scrapy/tags","blobs_url":"https://api.github.com/repos/scrapy/scrapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapy/scrapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapy/scrapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapy/scrapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapy/scrapy/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapy/scrapy/languages","stargazers_url":"https://api.github.com/repos/scrapy/scrapy/stargazers","contributors_url":"https://api.github.com/repos/scrapy/scrapy/contributors","subscribers_url":"https://api.github.com/repos/scrapy/scrapy/subscribers","subscription_url":"https://api.github.com/repos/scrapy/scrapy/subscription","commits_url":"https://api.github.com/repos/scrapy/scrapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapy/scrapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapy/scrapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapy/scrapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapy/scrapy/contents/{+path}","compare_url":"https://api.github.com/repos/scrapy/scrapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapy/scrapy/merges","archive_url":"https://api.github.com/repos/scrapy/scrapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapy/scrapy/downloads","issues_url":"https://api.github.com/repos/scrapy/scrapy/issues{/number}","pulls_url":"https://api.github.com/repos/scrapy/scrapy/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapy/scrapy/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapy/scrapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapy/scrapy/labels{/name}","releases_url":"https://api.github.com/repos/scrapy/scrapy/releases{/id}","deployments_url":"https://api.github.com/repos/scrapy/scrapy/deployments","created_at":"2010-02-22T02:01:14Z","updated_at":"2016-12-12T15:01:18Z","pushed_at":"2016-12-12T16:19:20Z","git_url":"git://github.com/scrapy/scrapy.git","ssh_url":"git@github.com:scrapy/scrapy.git","clone_url":"https://github.com/scrapy/scrapy.git","svn_url":"https://github.com/scrapy/scrapy","homepage":"http://scrapy.org","size":52112,"stargazers_count":17324,"watchers_count":17324,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":4782,"mirror_url":null,"open_issues_count":464,"forks":4782,"open_issues":464,"watchers":17324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/2410"},"html":{"href":"https://github.com/scrapy/scrapy/pull/2410"},"issue":{"href":"https://api.github.com/repos/scrapy/scrapy/issues/2410"},"comments":{"href":"https://api.github.com/repos/scrapy/scrapy/issues/2410/comments"},"review_comments":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/2410/comments"},"review_comment":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scrapy/scrapy/pulls/2410/commits"},"statuses":{"href":"https://api.github.com/repos/scrapy/scrapy/statuses/7d1783603251923bb549d34a64d43952fe03b3bc"}}}}
{"actor":{"display_login":"kmike"}}