<commit_before># streambot
A tool to download media Stream source as the stream playlist indicates.


Test
======
python -m unittest discover -s tests
python -m unittest tests.test_hlsstreambot<commit_msg>upudate README, add description for HLS Clone tool<commit_after># streambot
A tool to download media Stream source as the stream playlist indicates.

HLS Clone Tool
=====================
# Clone HLS VOD
python hls_clone.py -u {URL} -o {output_path}

# Clone HLS LIVE
python hls_clone.py -u {URL} -o {output_path} -l {total_length_in_seconds}

Test
====
python -m unittest discover -s tests
python -m unittest tests.test_hlsstreambot
{'fraction_non_alphanumeric': 0.10832025117739404, 'fraction_numerical': 0.0, 'mean_word_length': 5.018867924528302, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4165743', 'n_tokens_mistral': 205, 'n_tokens_neox': 204, 'n_words': 79}