mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-05-17 06:09:29 +00:00
feat(dl): change --export flag with manifest URL, subtitles, and track info
changed --export flag to export decryption keys, manifest URLs, subtitle URLs, and track info to a JSON file in the configurable exports directory. Manifest URLs are captured from DASH, ISM, and HLS parsers and propagated through the Tracks system via a new manifest_url attribute. Deduplicate Widevine/PlayReady export logic into a shared _write_export helper with dedicated EXPORT_LOCK. Add Tracks.filter() method that preserves metadata when filtering tracks by predicate.
This commit is contained in:
@@ -247,6 +247,7 @@ class DASH:
|
||||
# only get tracks from the first main-content period
|
||||
break
|
||||
|
||||
tracks.manifest_url = self.url
|
||||
return tracks
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user