I have a code
from bs4 import BeautifulSoup as bs
import random
import lxml.html
r = requests.get("https://osu.ppy.sh/beatmapsets?q=S3rl")
text = r.text
soup = bs(text, "html.parser")
theresult = {}
for qwerty in soup.find_all('a'):
theresult[i] = qwerty.get('href')
But I don’t get the links I need from this code, but I don’t know how to get it. Disabling java doesn't help. How do I get all the download links such as in the picture?