aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2018-04-06 16:21:19 -0400
committerKen Kellner <ken@kenkellner.com>2018-04-06 16:21:19 -0400
commit7c884373caf733b0896cbd66f3e539a4970f084b (patch)
tree1b84e6771341eb3548b527c2d0a5f80e203b4fa1
parentc4575a6adb813e664095693cc34d0f757fdbaec0 (diff)
Indicate publisher in output
-rwxr-xr-xarticle-epub.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/article-epub.py b/article-epub.py
index 6b06f12..9689abb 100755
--- a/article-epub.py
+++ b/article-epub.py
@@ -24,6 +24,7 @@ def main():
try:
art = article_epub.publisher.get_publishers()[domain](url=url,doi=doi)
+ print('Matched URL to publisher: '+art.__class__.__name__)
except:
sys.exit('Publisher not supported.')