Guest User

Untitled

a guest
Mar 7th, 2020
226
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import requests, bs4, json
  2.  
  3. cookies = {'mscom_new': 'YOUR_SESSSION_VALUE_HERE'}
  4.  
  5. q = requests.get('https://musescore.com/user/5174461/scores/3659386', cookies=cookies)
  6.  
  7. soup = bs4.BeautifulSoup(q.text)
  8.  
  9. jsondata_raw = soup.findAll('div', {'class': 'js-store'})[0]['data-content']
  10.  
  11. jsondata = json.loads(jsondata_raw)
  12.  
  13. print(jsondata['store']['page']['data']['type_download_list'])
RAW Paste Data