Remove Print Video M3U8 URL

This commit is contained in:
R. M 2023-05-20 13:14:32 -03:00
parent 6dd730c368
commit e76c79d9b4
2 changed files with 1 additions and 11 deletions

View File

@ -44,7 +44,7 @@ Some new features that I added:
```
usage: gamdl [-h] [-u [URLS_TXT]] [-w WVD_LOCATION] [-f FINAL_PATH]
[-t TEMP_PATH] [-c COOKIES_LOCATION] [-m] [-p] [-o] [-n]
[-s] [-e] [-i] [-v]
[-s] [-e] [-v]
[url ...]
Download Apple Music songs/music videos/albums/playlists
@ -74,8 +74,6 @@ options:
-s, --skip-cleanup Skip cleanup (default: False)
-e, --print-exceptions
Print execeptions (default: False)
-i, --print-video-m3u8-url
Print Video M3U8 URL (default: False)
-v, --version show program's version number and exit
```

View File

@ -86,12 +86,6 @@ def main():
action = 'store_true',
help = 'Print execeptions',
)
parser.add_argument(
'-i',
'--print-video-m3u8-url',
action = 'store_true',
help = 'Print Video M3U8 URL',
)
parser.add_argument(
'-v',
'--version',
@ -134,8 +128,6 @@ def main():
try:
webplayback = dl.get_webplayback(track_id)
if track['type'] == 'music-videos':
if args.print_video_m3u8_url:
print(webplayback['hls-playlist-url'])
tags = dl.get_tags_music_video(track['attributes']['url'].split('/')[-1].split('?')[0])
final_location = dl.get_final_location('.m4v', tags)
if dl.check_exists(final_location) and not args.overwrite: