diff --git a/codearchiver/modules/github.py b/codearchiver/modules/github.py new file mode 100644 index 0000000..e3f5d22 --- /dev/null +++ b/codearchiver/modules/github.py @@ -0,0 +1,21 @@ +import codearchiver.core +import codearchiver.modules.git +import datetime +import re + + +class GitHubModule(codearchiver.core.Module): + name = 'github' + + @staticmethod + def matches(inputUrl): + return bool(re.match(r'^https?://(www\.)?github\.com/[^/]+/[^/]+(?