aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/refcat/tasks.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py
index 1e18e8b..f230daa 100644
--- a/python/refcat/tasks.py
+++ b/python/refcat/tasks.py
@@ -759,7 +759,12 @@ class OpenLibraryWorksSorted(Refcat):
class OpenLibraryAuthorMapping(Refcat):
"""
- Create an OL author id to author name TSV mapping.
+ Create an OL author id to author name TSV mapping. Output like:
+
+ /authors/OL1000002A Īfilīn Farīd Jūrj Yārid
+ /authors/OL1000025A Khālid ibn Aḥmad Sulaymān
+ /authors/OL1000435A Muḥammad Shawqī ibn Ibrāhīm Makkī
+ /authors/OL1000449A Fāris Mūsá Muṭṭalib Mashāqbah
"""
def requires(self):
return OpenLibraryAuthors()
@@ -795,8 +800,8 @@ class OpenLibraryEditionsToRelease(Refcat):
skate-conv -B -f oled -Xa <(zstdcat -T0 {map}) |
zstd -T0 -c > {output}
""",
- input=self.input().get("oled"),
- map=self.input().get("map"))
+ input=self.input().get("oled").path,
+ map=self.input().get("map").path)
luigi.LocalTarget(output).move(self.output().path)
def output(self):