Skip to content

Instantly share code, notes, and snippets.

View MaximeCheramy's full-sized avatar

Maxime Chéramy MaximeCheramy

View GitHub Profile
@MaximeCheramy
MaximeCheramy / liste.py
Created January 5, 2016 22:04
Liste des chaînes d'un bouquet
import urllib.request
import json
def get(url):
response = urllib.request.urlopen(url)
html = response.read().decode("utf-8")
return json.loads(html)