Skip to content

Releases: memento/youtubedl-java

debug mode : prints video info when just after data is retrieved

04 Dec 23:10

Choose a tag to compare

1.3-print-info

just a release that prints the videoInfo when retrieved. Used for deb…

Protect your youtube-dl calls behind proxychains (tor)

02 Dec 01:20

Choose a tag to compare

Avoid being BAN for using youtube-dl behind proxychains !

On a debian/ubuntu machine, install the following packages :
proxychains tor obfsproxy

example :
apt-get install proxychains tor obfsproxy

(source : https://doc.ubuntu-fr.org/youtube-dl#probleme_de_smeproxy_tor )

(Other linux distributions : https://www.linuxsecrets.com/3372-install-setup-proxychains-on-linux )

Test your installation by executing this command :

proxychains youtube-dl https://www.youtube.com/watch?v=dQw4w9WgXcQ --dump-json

In youtubedl-java, execute the following test : YoutubeDLTest.testGetVideoInfo()

Enjoy!

Now able to grab some more usefull info about the video

22 Jul 15:16
c207746

Choose a tag to compare

Now, the software is able to get some more pieces of information like :

  • view_count
  • like_count
  • dislike_count
  • repost_count
  • average_rating
    ...

Just use the getters like below :

VideoInfo videoInfo = YoutubeDL.getVideoInfo(VIDEO_URL);
videoInfo.getViewCount();
...

Cheers !
Have a good one.