I am struggling how to download all albums in a website. Manually, I would click each album, which takes me to the album page and then click download. This is laborious.
Code:
import urllib.request
tar_url = "https:songs-download"
data = urllib.request.Request(tar_url)
for line in data:
print(line)
Present output:
TypeError: 'Request' object is not iterable