{"action":"created","issue":{"url":"https://api.github.com/repos/crawljax/crawljax/issues/501","repository_url":"https://api.github.com/repos/crawljax/crawljax","labels_url":"https://api.github.com/repos/crawljax/crawljax/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/crawljax/crawljax/issues/501/comments","events_url":"https://api.github.com/repos/crawljax/crawljax/issues/501/events","html_url":"https://github.com/crawljax/crawljax/issues/501","id":166802043,"number":501,"title":"multiple initial seed URLs","user":{"login":"zyy20853","id":9942256,"avatar_url":"https://avatars.githubusercontent.com/u/9942256?v=3","gravatar_id":"","url":"https://api.github.com/users/zyy20853","html_url":"https://github.com/zyy20853","followers_url":"https://api.github.com/users/zyy20853/followers","following_url":"https://api.github.com/users/zyy20853/following{/other_user}","gists_url":"https://api.github.com/users/zyy20853/gists{/gist_id}","starred_url":"https://api.github.com/users/zyy20853/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyy20853/subscriptions","organizations_url":"https://api.github.com/users/zyy20853/orgs","repos_url":"https://api.github.com/users/zyy20853/repos","events_url":"https://api.github.com/users/zyy20853/events{/privacy}","received_events_url":"https://api.github.com/users/zyy20853/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T11:59:52Z","updated_at":"2016-07-21T12:01:31Z","closed_at":null,"body":"Dear developers, I have multiple initial URLs to crawl. Instead of following deeper into each of them, I only need the page content. Now what I did is to close the context in the OnNewState Plugin, and restart a new builder of a new URL in the main loop. I think this is a common situation, but I can't find any info on the web. Is there any clever way to do this?  It waste too much time every time configuring a new builder.\r\n\r\nmy code is something like:\r\n\r\nwhile(URL list is not empty) {\r\n    CrawljaxConfigurationBuilder builder = CrawljaxConfiguration\r\n\t\t\t\t\t.builderFor( a new URL);\r\n    CrawljaxRunner crawljax = new CrawljaxRunner(builder.build());\r\n    crawljax.call();\r\n}\r\n\r\nonNewState(CrawlerContext context, StateVertex newState) {\r\n    context.stop();\r\n    // do some computation here\r\n}\r\n\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/crawljax/crawljax/issues/comments/234233588","html_url":"https://github.com/crawljax/crawljax/issues/501#issuecomment-234233588","issue_url":"https://api.github.com/repos/crawljax/crawljax/issues/501","id":234233588,"user":{"login":"zyy20853","id":9942256,"avatar_url":"https://avatars.githubusercontent.com/u/9942256?v=3","gravatar_id":"","url":"https://api.github.com/users/zyy20853","html_url":"https://github.com/zyy20853","followers_url":"https://api.github.com/users/zyy20853/followers","following_url":"https://api.github.com/users/zyy20853/following{/other_user}","gists_url":"https://api.github.com/users/zyy20853/gists{/gist_id}","starred_url":"https://api.github.com/users/zyy20853/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyy20853/subscriptions","organizations_url":"https://api.github.com/users/zyy20853/orgs","repos_url":"https://api.github.com/users/zyy20853/repos","events_url":"https://api.github.com/users/zyy20853/events{/privacy}","received_events_url":"https://api.github.com/users/zyy20853/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T12:01:31Z","updated_at":"2016-07-21T12:01:31Z","body":"My situation is a little similar to issue #93 , did you solve that one? "}}
{"actor":{"display_login":"zyy20853"}}