Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d8281aeb34
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ public class YoutubeSearchEngine implements SearchEngine {
|
|||
.text();
|
||||
viewCountInfo = viewCountInfo.substring(0, viewCountInfo.indexOf(' '));
|
||||
viewCountInfo = viewCountInfo.replaceAll("[,.]", "");
|
||||
viewCountInfo = viewCountInfo.replaceAll("\\s","");
|
||||
resultItem.view_count = Long.parseLong(viewCountInfo);
|
||||
|
||||
Element te = item.select("div[class=\"yt-thumb video-thumb\"]").first()
|
||||
|
|
Loading…
Add table
Reference in a new issue