GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hacking-tools-scriptss/Java/DownloadSubtitleScript at main · sanscript-tech/hacking-tools-scriptss

Expand file tree

/

DownloadSubtitleScript

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

DownloadSubtitleScript

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
DownloadSubtitle
DownloadSubtitle
 
 
README.md
README.md
 
 

README.md

Outline

Download subtitle script from [http://thesubdb.com/]

The aim of the program is to fetch the subtitles for a particular video file from the subDB repository via their API endpoint.

Library Used:

No external libraries used

API Documentation:

  • The SubDB API is used.
  • The API requires the hash value of the video file to match with their database subtitle file. Inorder to get the hash value their own function is being used to generate it in this program.
  • The API also requires a valid User-Agent to be sent along with the headers.
  • The basic GET and POST operations are functional in this API.

Usage:

>> javac DownloadSubtitleScript.java

>> java DownloadSubtitleScript

I/O:

Example:

Enter file name with extension: dexter_sample_video.mp4
(must be in the same path that of the java file)

Enter client name: Haripriya

Enter client version: 1.0

Enter client URL: https://github.com/HaripriyaB

Subtitles saved in dexter_sample_video.mp4.srt file
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.