kopia lustrzana https://github.com/TeamNewPipe/NewPipe
update colors (implementing redesign suggested by @darkon5)
rodzic
224e7a8969
commit
61a09e97ca
|
@ -320,9 +320,6 @@ public class YoutubeExtractor implements Extractor {
|
||||||
// view count
|
// view count
|
||||||
videoInfo.view_count = doc.select("div[class=\"watch-view-count\"]").first().text();
|
videoInfo.view_count = doc.select("div[class=\"watch-view-count\"]").first().text();
|
||||||
|
|
||||||
// Extract view count from header
|
|
||||||
videoInfo.view_count = matchGroup1("([\\d]*$)", videoInfo.view_count);
|
|
||||||
|
|
||||||
// next video
|
// next video
|
||||||
videoInfo.nextVideo = extractVideoInfoItem(doc.select("div[class=\"watch-sidebar-section\"]").first()
|
videoInfo.nextVideo = extractVideoInfoItem(doc.select("div[class=\"watch-sidebar-section\"]").first()
|
||||||
.select("li").first());
|
.select("li").first());
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="primaryColorYoutube">#dd0000</color>
|
<color name="primaryColorYoutube">#cd322e</color>
|
||||||
<color name="primaryColorDarkYoutube">#bb0000</color>
|
<color name="primaryColorDarkYoutube">#bc211d</color>
|
||||||
<color name="accentColorYoutube">#000000</color>
|
<color name="accentColorYoutube">#000000</color>
|
||||||
<color name="black_overlay">#66000000</color>
|
<color name="black_overlay">#66000000</color>
|
||||||
</resources>
|
</resources>
|
Ładowanie…
Reference in New Issue