Skip to content

Instantly share code, notes, and snippets.

@uncreative
Created March 13, 2013 01:04
Show Gist options
  • Save uncreative/5148557 to your computer and use it in GitHub Desktop.
Save uncreative/5148557 to your computer and use it in GitHub Desktop.
avoiding razer synapse
import requests
for i in range(424,1424):
r = requests.get('http://www.razersupport.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=%d' % i)
print i, r.text[r.text.find('<title>')+len('<title>'):r.text.find('</title>')]
# latest non synapse razer naga driver for mac: http://www.razersupport.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=596&nav=0,40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment