diff --git a/ox/web/archive.py b/ox/web/archive.py new file mode 100644 index 0000000..54c45a4 --- /dev/null +++ b/ox/web/archive.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# vi:si:et:sw=4:sts=4:ts=4 + + +def getId(url): + return url.split("/")[-1] + +def getUrl(id): + return "http://www.archive.org/details/%s" % id +