Skip to content

Instantly share code, notes, and snippets.

@HansMayer
HansMayer / chinaems.py
Created March 27, 2012 08:54
A simple script in python to print tracking informations from China EMS
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# A python script to grab China EMS.
import urllib, urllib2, cookielib, re
TRACKINGID='RAxxxxxxCN'
def getURL(url,post=None,headers=[]):
@HansMayer
HansMayer / default.py
Created March 1, 2012 02:28 — forked from anonymous/default.py
XBMC rtmpGUI plugin with multiple source lists, local source lists (file://), channel logos (<logourl>) and distinction by language
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib, urllib2, cookielib
import string, os, re, time, datetime, sys
import xbmc, xbmcgui, xbmcplugin, xbmcaddon
BASE = [
'http://apps.ohlulz.com/rtmpgui/list.xml',
#'http://localhost/links.xml',