dropcreations / Manzana-Apple-Music-Downloader

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.
https://music.apple.com
GNU General Public License v3.0
182 stars 23 forks source link

Connection Reset Error #27

Open ValentinVV1 opened 8 months ago

ValentinVV1 commented 8 months ago

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!

Do you know what might cause it? Thank you!