A python program to download albums and songs with AAC codec in .m4a container format and music-videos up to 4K in AVC or HEVC codec in .mp4 format from Apple Music.
Hi! I am trying to download a playlist filled with music videos and I get the following errors quite often:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _error_catcher:710 │
│ │
│ in _raw_read:814 │
│ │
│ in _fp_read:799 │
│ │
│ in read:463 │
│ │
│ in readinto:507 │
│ │
│ in readinto:704 │
│ │
│ in recv_into:1242 │
│ │
│ in read:1100 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in generate:816 │
│ │
│ in stream:936 │
│ │
│ in read:879 │
│ │
│ in _raw_read:835 │
│ │
│ in __exit__:137 │
│ │
│ in _error_catcher:727 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ProtocolError: ("Connection broken: ConnectionResetError(10054, 'An existing connection was forcibly closed by the
remote host', None, 10054, None)", ConnectionResetError(10054, 'An existing connection was forcibly closed by the remotehost', None, 10054, None))
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in <module>:83 │
│ │
│ in run:291 │
│ │
│ in download:34 │
│ │
│ in generate:818 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ChunkedEncodingError: ("Connection broken: ConnectionResetError(10054, 'An existing connection was forcibly closed by
the remote host', None, 10054, None)", ConnectionResetError(10054, 'An existing connection was forcibly closed by the
remote host', None, 10054, None))
[9872] Failed to execute script 'manzana' due to unhandled exception!
Hi! I am trying to download a playlist filled with music videos and I get the following errors quite often:
Do you know what might cause it? Thank you!