Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Commit

Permalink
add base url to crawlerTodo
Browse files Browse the repository at this point in the history
  • Loading branch information
T4ze committed Dec 9, 2017
1 parent d8b696e commit 4fefcc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/epita/guereza/UrlStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

public class UrlStore implements Reducer {
private static final Logger LOGGER = LoggerFactory.getLogger(CrawlerService.class);
private static final String STARTING_URL = "https://www.wikipedia.org";

private final EventBusClient eventBus;

Expand All @@ -25,6 +26,7 @@ public class UrlStore implements Reducer {

public UrlStore(final EventBusClient eventBus) {
this.eventBus = eventBus;
store(new String[] {STARTING_URL});
}

@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 4fefcc5

Please sign in to comment.