{"action":"created","comment":{"url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments/71234508","id":71234508,"diff_hunk":"@@ -113,18 +125,16 @@ object CrawlerDriver extends App{\n     }\n \n     if(conf.hasPath(\"builder.crawlrules.clickelements\")) {\n-      val AIds = conf.getStringList(\"builder.crawlrules.clickelements.a.id\")\n       val AClasses = conf.getStringList(\"builder.crawlrules.clickelements.a.class\")\n-      val AText = conf.getStringList(\"builder.crawlrules.clickelements.a.text\")\n       val AHref = conf.getStringList(\"builder.crawlrules.clickelements.a.href\")\n+      val LiIds = conf.getString(\"builder.crawlrules.clickelements.li.id\")\n+      val InputIds = conf.getStringList(\"builder.crawlrules.clickelements.input.id\")\n+      val InputNames = conf.getStringList(\"builder.crawlrules.clickelements.input.name\")\n+      val InputValues = conf.getStringList(\"builder.crawlrules.clickelements.input.value\")\n \n-      var it = AIds.iterator()\n-\n-      while(it.hasNext){\n-        builder.crawlRules().click(\"a\").withAttribute(\"id\", it.next())\n-      }\n+      builder.crawlRules().click(\"li\").withAttribute(\"id\", LiIds)\n \n-      it = AClasses.iterator()\n+      var it = AClasses.iterator()","path":"noah/src/main/scala/edu/uci/ics/cloudberry/noah/crawler/CrawlerDriver.scala","position":82,"original_position":82,"commit_id":"e20805e72fd4aee6bd4d15f89558728feaaf33d9","original_commit_id":"e820d145c21aba0db53509114aa03a6fac611c94","user":{"login":"aishwaryakapse","id":18204859,"avatar_url":"https://avatars.githubusercontent.com/u/18204859?v=3","gravatar_id":"","url":"https://api.github.com/users/aishwaryakapse","html_url":"https://github.com/aishwaryakapse","followers_url":"https://api.github.com/users/aishwaryakapse/followers","following_url":"https://api.github.com/users/aishwaryakapse/following{/other_user}","gists_url":"https://api.github.com/users/aishwaryakapse/gists{/gist_id}","starred_url":"https://api.github.com/users/aishwaryakapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishwaryakapse/subscriptions","organizations_url":"https://api.github.com/users/aishwaryakapse/orgs","repos_url":"https://api.github.com/users/aishwaryakapse/repos","events_url":"https://api.github.com/users/aishwaryakapse/events{/privacy}","received_events_url":"https://api.github.com/users/aishwaryakapse/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-07-18T21:33:42Z","updated_at":"2016-07-18T21:33:42Z","html_url":"https://github.com/ISG-ICS/cloudberry/pull/136#discussion_r71234508","pull_request_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments/71234508"},"html":{"href":"https://github.com/ISG-ICS/cloudberry/pull/136#discussion_r71234508"},"pull_request":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136","id":77852444,"html_url":"https://github.com/ISG-ICS/cloudberry/pull/136","diff_url":"https://github.com/ISG-ICS/cloudberry/pull/136.diff","patch_url":"https://github.com/ISG-ICS/cloudberry/pull/136.patch","issue_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/136","number":136,"state":"open","locked":false,"title":"Added setupScrapy.sh File","user":{"login":"aishwaryakapse","id":18204859,"avatar_url":"https://avatars.githubusercontent.com/u/18204859?v=3","gravatar_id":"","url":"https://api.github.com/users/aishwaryakapse","html_url":"https://github.com/aishwaryakapse","followers_url":"https://api.github.com/users/aishwaryakapse/followers","following_url":"https://api.github.com/users/aishwaryakapse/following{/other_user}","gists_url":"https://api.github.com/users/aishwaryakapse/gists{/gist_id}","starred_url":"https://api.github.com/users/aishwaryakapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishwaryakapse/subscriptions","organizations_url":"https://api.github.com/users/aishwaryakapse/orgs","repos_url":"https://api.github.com/users/aishwaryakapse/repos","events_url":"https://api.github.com/users/aishwaryakapse/events{/privacy}","received_events_url":"https://api.github.com/users/aishwaryakapse/received_events","type":"User","site_admin":false},"body":"This file is to setup an environment to run scrapy projects.\r\nThis file has to be run only once.\r\n\r\nGo to /cloudberry/noah/src/main/resources/crawler to find this file and run it in the directory it is present by using the command:\r\n./setupScrapy.sh\r\n\r\n#66 \r\n@JavierJia @chenlica  @MoniMoledo @kaiyim","created_at":"2016-07-18T18:11:34Z","updated_at":"2016-07-18T21:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20d846e85192f0db997d960229aa47f9f98a2900","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136/commits","review_comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136/comments","review_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/136/comments","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/e20805e72fd4aee6bd4d15f89558728feaaf33d9","head":{"label":"aishwaryakapse:tp","ref":"tp","sha":"e20805e72fd4aee6bd4d15f89558728feaaf33d9","user":{"login":"aishwaryakapse","id":18204859,"avatar_url":"https://avatars.githubusercontent.com/u/18204859?v=3","gravatar_id":"","url":"https://api.github.com/users/aishwaryakapse","html_url":"https://github.com/aishwaryakapse","followers_url":"https://api.github.com/users/aishwaryakapse/followers","following_url":"https://api.github.com/users/aishwaryakapse/following{/other_user}","gists_url":"https://api.github.com/users/aishwaryakapse/gists{/gist_id}","starred_url":"https://api.github.com/users/aishwaryakapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishwaryakapse/subscriptions","organizations_url":"https://api.github.com/users/aishwaryakapse/orgs","repos_url":"https://api.github.com/users/aishwaryakapse/repos","events_url":"https://api.github.com/users/aishwaryakapse/events{/privacy}","received_events_url":"https://api.github.com/users/aishwaryakapse/received_events","type":"User","site_admin":false},"repo":{"id":61052284,"name":"cloudberry","full_name":"aishwaryakapse/cloudberry","owner":{"login":"aishwaryakapse","id":18204859,"avatar_url":"https://avatars.githubusercontent.com/u/18204859?v=3","gravatar_id":"","url":"https://api.github.com/users/aishwaryakapse","html_url":"https://github.com/aishwaryakapse","followers_url":"https://api.github.com/users/aishwaryakapse/followers","following_url":"https://api.github.com/users/aishwaryakapse/following{/other_user}","gists_url":"https://api.github.com/users/aishwaryakapse/gists{/gist_id}","starred_url":"https://api.github.com/users/aishwaryakapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishwaryakapse/subscriptions","organizations_url":"https://api.github.com/users/aishwaryakapse/orgs","repos_url":"https://api.github.com/users/aishwaryakapse/repos","events_url":"https://api.github.com/users/aishwaryakapse/events{/privacy}","received_events_url":"https://api.github.com/users/aishwaryakapse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aishwaryakapse/cloudberry","description":"Interactive Twitter map analytic application","fork":true,"url":"https://api.github.com/repos/aishwaryakapse/cloudberry","forks_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/forks","keys_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/teams","hooks_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/events","assignees_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/tags","blobs_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/languages","stargazers_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/subscription","commits_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/merges","archive_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/downloads","issues_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/aishwaryakapse/cloudberry/deployments","created_at":"2016-06-13T16:30:49Z","updated_at":"2016-06-13T16:30:52Z","pushed_at":"2016-07-18T21:25:48Z","git_url":"git://github.com/aishwaryakapse/cloudberry.git","ssh_url":"git@github.com:aishwaryakapse/cloudberry.git","clone_url":"https://github.com/aishwaryakapse/cloudberry.git","svn_url":"https://github.com/aishwaryakapse/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":88893,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ISG-ICS:master","ref":"master","sha":"a7dc21577cea6cb8c180058feca22ab2419a475f","user":{"login":"ISG-ICS","id":17169982,"avatar_url":"https://avatars.githubusercontent.com/u/17169982?v=3","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"repo":{"id":46375119,"name":"cloudberry","full_name":"ISG-ICS/cloudberry","owner":{"login":"ISG-ICS","id":17169982,"avatar_url":"https://avatars.githubusercontent.com/u/17169982?v=3","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ISG-ICS/cloudberry","description":"Interactive Twitter map analytic application","fork":false,"url":"https://api.github.com/repos/ISG-ICS/cloudberry","forks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/forks","keys_url":"https://api.github.com/repos/ISG-ICS/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ISG-ICS/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ISG-ICS/cloudberry/teams","hooks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/events","assignees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/ISG-ICS/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/tags","blobs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/ISG-ICS/cloudberry/languages","stargazers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscription","commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/ISG-ICS/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ISG-ICS/cloudberry/merges","archive_url":"https://api.github.com/repos/ISG-ICS/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ISG-ICS/cloudberry/downloads","issues_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/ISG-ICS/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/ISG-ICS/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ISG-ICS/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/ISG-ICS/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/deployments","created_at":"2015-11-17T20:59:29Z","updated_at":"2016-07-17T13:33:46Z","pushed_at":"2016-07-18T21:25:48Z","git_url":"git://github.com/ISG-ICS/cloudberry.git","ssh_url":"git@github.com:ISG-ICS/cloudberry.git","clone_url":"https://github.com/ISG-ICS/cloudberry.git","svn_url":"https://github.com/ISG-ICS/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":97968,"stargazers_count":6,"watchers_count":6,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":33,"forks":14,"open_issues":33,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136"},"html":{"href":"https://github.com/ISG-ICS/cloudberry/pull/136"},"issue":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/136"},"comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/e20805e72fd4aee6bd4d15f89558728feaaf33d9"}}}}
{"actor":{"display_login":"aishwaryakapse"}}