update layout (implementing redesign suggested by @darkon5) & set english as a default language for content
This commit is contained in:
parent
61a09e97ca
commit
862b5aaef6
9 changed files with 39 additions and 21 deletions
|
|
@ -51,7 +51,7 @@ public class VideoInfoItemViewCreator {
|
|||
}
|
||||
|
||||
if(info.thumbnail == null) {
|
||||
holder.itemThumbnailView.setImageResource(R.drawable.dummi_thumbnail);
|
||||
holder.itemThumbnailView.setImageResource(R.drawable.dummy_thumbnail);
|
||||
} else {
|
||||
holder.itemThumbnailView.setImageBitmap(info.thumbnail);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -320,6 +320,8 @@ public class YoutubeExtractor implements Extractor {
|
|||
// view count
|
||||
videoInfo.view_count = doc.select("div[class=\"watch-view-count\"]").first().text();
|
||||
|
||||
videoInfo.view_count = matchGroup1("([0-9,]*$)", videoInfo.view_count);
|
||||
|
||||
// next video
|
||||
videoInfo.nextVideo = extractVideoInfoItem(doc.select("div[class=\"watch-sidebar-section\"]").first()
|
||||
.select("li").first());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue