Skip to content

Commit

Permalink
update doc code format
Browse files Browse the repository at this point in the history
  • Loading branch information
fivesmallq committed Jan 13, 2016
1 parent de15a64 commit 54c4890
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ dependencies {
###extract single data

````java
String followers = Extractors.on(baseHtml)
.extract(new SelectorExtractor("div.followers"))
.with(new RegexExtractor("\\d+"))
.asString();
String followers = Extractors.on(baseHtml)
.extract(new SelectorExtractor("div.followers"))
.with(new RegexExtractor("\\d+"))
.asString();
````

or use static method

````java
String followers = Extractors.on(baseHtml)
.extract(selector("div.followers"))
.with(regex("\\d+"))
.asString();
String followers = Extractors.on(baseHtml)
.extract(selector("div.followers"))
.with(regex("\\d+"))
.asString();
````
more method

Expand Down

0 comments on commit 54c4890

Please sign in to comment.