Package: ezsub
ezsubezsubdownloads subtitles fromsubscene.comand its persian clones
such assubf2m.co.For more details seeHow ezsub Works.Table of ContentsInstallHow to useDownload:ezsub dlExtract Previously Downloaded Subtitles:ezsub unzipLogin:ezsub loginInfo:ezsub infoConfig:ezsub configClean:ezsub cleanUpdate:ezsub updateBackup:ezsub backupHistory:ezsub historyReport ErrorsInstallDependencies:python3.7+unrar [optional]Install latest published release using pip3# linux and macpython3-mpipinstall--user--upgradeezsub# windowspython-mpipinstall--user--upgradeezsubFor installing latest in progress version from github (not recommended) use this command:python3-mpipinstall--user--upgradehttps://github.com/7aman/ezsub/archive/master.zip# windowspython-mpipinstall--user--upgradehttps://github.com/7aman/ezsub/archive/master.zipSeeherefor more details.How to UseDownloadezsubdl-t|-TTITLE-lLNG1[LANG2...]-dDESTINATION-sSITE1[SITE2...]-a|-A-o|-O-S-g|GFor details on each switch seethisExamples:# if search keywords are distinctive enough, use auto select (-a)ezsubdl-triverdalethirdseason-lfa-a# determine site. If site is not responding, ezsub will choose first responding site automatically.ezsubdl-tgameofthrones-ssubscene# movies, tv series, video musics are not different.ezsubdl-thowtotrainyourdragon# if you know exact title used in url use this -T# for example subscene page for first season of "the end of the f***ing world" is:# https://subscene.com/subtitles/the-end-of-the-fing-world#so:ezsubdl-Tthe-end-of-the-fing-world# extract here and relative to here (both windows and unix)ezsubdl-taquaman-d.
ezsubdl-taquaman-d./children/to/here
ezsubdl-taquaman-d../sibling/to/here# absolute and relative path (unix)ezsubdl-taquaman-d/absolute/path/to/a/destination
ezsubdl-taquaman-d~/relative/path/to/home/directory# absolute path (windows)ezsubdl-taquaman-d'D:\Movies\Aquaman\'Extract Previously Downloaded Subtitlesezsubunzip-t|-TTitleofMovieorTVSeries-lLNG1[LNG2...]-dDESTINATION-a|-A-o|-O-g|-Gswitches are same asezsub dlswitchesexcept there is no-sand-S.ezsubsearches through"cache"folder. Rest is same as the download process.More DetailsLoginSince June 2019, subscene added google re-captcha. If user logs in, this captcha will not be required anymore.At now (October 2019) it is easy to get a token even without user and password. Also persian mirrors such as 'hasti' and 'subf2m' do not require login.Infoezsubinfo
ezsubinfo-v{-t|-s|-n}prints some useful information such as version and cache folder details.With-vlists all downloaded titles with size and number of files sorted by title (-t). for sorting based on size (s) and number of files (n) use-sand-n.Configezsubconfigshow
ezsubconfigsetOPTIONVALUEcommand to show or change default values.More DetailsezsubconfigsetDefaults.sitehasti# to reset to defaultezsubconfigsetDefaults.languages-Cleanezsubclean-t|-TTITLE-lLNG1[LNG2...][-0]-a|-A
ezsubclean--all-lLNG1[LNG2...][-0]-a|-Asearches cache directory for given title and language. then:with-0or--zeroit will replace each downloaded files with empty zip files.without-0it will delete downloaded files completely.If you want to delete or empty all subtitles use--allswitch.UpdateezsubupdateCheck if there is a new version of ezsub available. If user confirms, new version will be installed.Also if last check was before 7 days ago, at next call it warns user to check for update.BackupCreate a zip archive from cache folder. It accepts-doption for destination and-o|-Ofor opening destination folder after backup is completed.HistoryTo check history of previously called ezsub command.# show previous callsezsubhistoryshow# or simply:ezsubhistory# select a previous call [its line number] to run again.ezsubhistoryrunNUMBER# short versionezsubhshow|runReport Errorsezsublogs some messages that could be found inROOT/ezsub.logfile.If you getting error, you can run eachezsubcommand with--loglevel=Debugswitch. Getezsub.logcontent and create an issuehereto report.