diff --git a/README.md b/README.md index 8b766e8..7c43f53 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,8 @@ In order to decrypt DRM content, you will need to have a dumped CDM, after that - [x] CLI arguments implementation + documentation - [x] French/English full translation - [ ] Better output system -- [ ] Add more comments in the code -- [ ] Logging system +- [x] Add more comments in the code +- [x] Logging system - [ ] Live direct restream support diff --git a/download/.gitkeep b/download/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/main.py index 6059295..382df73 100644 --- a/main.py +++ b/main.py @@ -339,7 +339,7 @@ if __name__ == "__main__": track_id_audio = audio_data["track_id"] start_tick_video = video_data["start_tick"] start_tick_audio = audio_data["start_tick"] - diff_start = start_tick_video - start_tick_audio + diff_start = start_tick_audio - start_tick_video diff_start_sec = convert_ticks_to_sec(diff_start, TIMESCALE) # ffmpeg -i "concat:init.mp4|merged_dec.m4s" -c copy output.mp4 diff --git a/utils/times.py b/utils/times.py index 746698a..a70cdf0 100644 --- a/utils/times.py +++ b/utils/times.py @@ -57,7 +57,7 @@ async def bruteforce(track_id, date): total_requests = 288000 batch_size = 20000 - logger.debug("Starting bruteforce for %s", track_id) + logger.debug("Starting bruteforce for %s near %s", track_id, date) start_time = time.time()