This project contains scripts to parse and format playlists from HTML and NML files. The scripts extract relevant track information and display it in a formatted manner.
parsePlaylist.py
: Parses and formats playlists from HTML files.parseTraktor.py
: Parses and formats playlists from NML files.
- Python 3.x
argparse
modulere
moduleBeautifulSoup
module (forparsePlaylist.py
)xml.etree.ElementTree
module (forparseTraktor.py
)
-
Clone the repository:
git clone https://github.com/nilicule/traktor.git cd traktor
-
Install the required Python packages:
pip install beautifulsoup4
To parse and format a playlist from an HTML file, use the parsePlaylist.py
script:
python parsePlaylist.py <filename>
Replace with the path to your HTML file.
To parse and format a playlist from an NML file, use the parseTraktor.py
script:
python parseTraktor.py <filename>
Replace with the path to your NML file.
This project is licensed under the MIT License. See the LICENSE file for more information.