definite / opensubtitle-exporter

Export opensubtitle to CSV etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenSubtitle Exporter

Export opensubtitles database to other formats such as CSV, Excel, or SQL.

The XML files are from

Utilities

RemoveUnmatching.sh

This script removes the documents that do not exist in matching document (en-zh_cn.xml.gz.tmp). It should be run at the parent of xml/

./RemoveUnmatching.sh

FileExtractor.py

Extract tar.gz files in <source_dir> and output to <output_dir>

python FileExtractor.py <source_dir> <out_dir>

Please note that out_dir should NOT be the same or the sub-directory of source_dir. Otherwise this program takes longer to finish as it will also look for source files in out_dir as well.

XmlExporter

Export from XML to database.

python XmlExporter db [Options] <language> <xml_directory>

About

Export opensubtitle to CSV etc


Languages

Language:Python 97.5%Language:Shell 2.5%