Last active
August 29, 2015 14:23
-
-
Save oryband/75301c063272b40354de to your computer and use it in GitHub Desktop.
Steam Not Interested list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Prints all your "Not Interested" list on steam. | |
You need to first fetch the "Not Interested" game id numbers list | |
from this page: http://store.steampowered.com/dynamicstore/userdata | |
The ids you need are under the "rgIgnoredApps" field. | |
I've put an example of these ids down below, just replace them with yours. | |
This script requires the requests and beautifulsoup4 packages, | |
so execute "pip install requests beautifulsoup4" first. | |
""" | |
import requests | |
import bs4 | |
IDS = [ | |
570, | |
15520, | |
200710, | |
] | |
for id in IDS: | |
print (bs4.BeautifulSoup( | |
requests.get('http://store.steampowered.com/app/%d/' % id).content) | |
.find('title').text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment