mirror of
https://github.com/openeggbert/youtubedl-frontend.git
synced 2025-03-25 17:17:46 +01:00
Some improvements
This commit is contained in:
parent
c4dc2f650f
commit
c716abb127
@ -48,7 +48,7 @@ public class Main {
|
|||||||
public static void main(String[] args) throws IOException, InterruptedException {
|
public static void main(String[] args) throws IOException, InterruptedException {
|
||||||
System.out.println("youtubedlfrontend - HTML generator\n");
|
System.out.println("youtubedlfrontend - HTML generator\n");
|
||||||
|
|
||||||
args = "/rv/blupi/archivebox --_video UDpsz1yIwiw --always-generate-metadata 1 --always-generate-html-files 1 --videos-per-row 4".split(" ");
|
args = "/rv/blupi/archivebox --_video UDpsz1yIwiw --always-generate-metadata 1 --always-generate-html-files 0 --videos-per-row 4".split(" ");
|
||||||
//args = "/rv/databig/youtube --_video UDpsz1yIwiw --always-generate-metadata 1 --always-generate-html-files 1 --videos-per-row 4".split(" ");
|
//args = "/rv/databig/youtube --_video UDpsz1yIwiw --always-generate-metadata 1 --always-generate-html-files 1 --videos-per-row 4".split(" ");
|
||||||
|
|
||||||
if (args.length < 1) {
|
if (args.length < 1) {
|
||||||
@ -177,6 +177,7 @@ public class Main {
|
|||||||
System.out.println("uploadDate = " + youtubeVideo.getUploadDate());
|
System.out.println("uploadDate = " + youtubeVideo.getUploadDate());
|
||||||
System.out.println("description = " + youtubeVideo.getDescription());
|
System.out.println("description = " + youtubeVideo.getDescription());
|
||||||
System.out.println("thumbnail = " + youtubeVideo.getThumbnail());
|
System.out.println("thumbnail = " + youtubeVideo.getThumbnail());
|
||||||
|
System.out.println("miniThumbnail = " + youtubeVideo.getMiniThumbnail());
|
||||||
System.out.println("comments = " + youtubeVideo.getComments());
|
System.out.println("comments = " + youtubeVideo.getComments());
|
||||||
youtubeVideos.add(youtubeVideo);
|
youtubeVideos.add(youtubeVideo);
|
||||||
}
|
}
|
||||||
|
@ -266,7 +266,7 @@ public class YoutubeVideo implements Comparable<YoutubeVideo> {
|
|||||||
properties.put("timestamp", String.valueOf(timestamp));
|
properties.put("timestamp", String.valueOf(timestamp));
|
||||||
properties.put("description", description);
|
properties.put("description", description);
|
||||||
properties.put("thumbnail", thumbnail);
|
properties.put("thumbnail", thumbnail);
|
||||||
properties.put("minithumbnail", miniThumbnail);
|
properties.put("miniThumbnail", miniThumbnail);
|
||||||
properties.put("comments", new JSONArray(comments).toString());
|
properties.put("comments", new JSONArray(comments).toString());
|
||||||
if (previousVideoId != null) {
|
if (previousVideoId != null) {
|
||||||
properties.put("previousVideoId", previousVideoId);
|
properties.put("previousVideoId", previousVideoId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user