File tree Expand file tree Collapse file tree
main/java/com/sapher/youtubedl
test/java/com/sapher/youtubedl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77 <groupId >com.sapher</groupId >
88 <artifactId >youtubedl</artifactId >
9- <version >1.3</version >
9+ <version >1.3-print-info </version >
1010 <packaging >jar</packaging >
1111
1212 <name >YoutubeDL wrapper</name >
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ public static VideoInfo getVideoInfo(String url) throws YoutubeDLException {
143143
144144 try {
145145 videoInfo = objectMapper .readValue (response .getOut (), VideoInfo .class );
146+ System .out .println ("videoInfo=" +videoInfo .toString ());
146147 } catch (IOException e ) {
147148 throw new YoutubeDLException ("Unable to parse video information: " + e .getMessage ());
148149 }
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ public static VideoInfo getVideoInfo(String url) throws YoutubeDLException {
6767
6868 try {
6969 videoInfo = objectMapper .readValue (output , VideoInfo .class );
70+ System .out .println ("videoInfo=" +videoInfo .toString ());
7071 } catch (IOException e ) {
7172 throw new YoutubeDLException ("Unable to parse video information: " + e .getMessage ());
7273 }
Original file line number Diff line number Diff line change 1212public class YoutubeDLProxychainsTest {
1313
1414 private final static String DIRECTORY = System .getProperty ("java.io.tmpdir" );
15- private final static String VIDEO_URL = "https://www.youtube.com/watch?v=nMfPqeZjc2c" ;
15+ //private final static String VIDEO_URL = "https://www.youtube.com/watch?v=nMfPqeZjc2c";
16+ private final static String VIDEO_URL = "https://www.youtube.com/watch?v=x3hGMgd2X14" ;
1617 private final static String NONE_EXISTENT_VIDEO_URL = "https://www.youtube.com/watch?v=dQw4w9WgXcZ" ;
1718
1819 /**@Test
You can’t perform that action at this time.
0 commit comments