本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
JustAnotherArchivist
/
qwarc
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
13
Wiki
活動
瀏覽代碼
Add Item representation
master
JustAnotherArchivist
3 年之前
父節點
5675118877
當前提交
4484d6c588
共有
1 個檔案被更改
,包括
3 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
qwarc/__init__.py
+ 3
- 0
qwarc/__init__.py
查看文件
@@ -204,6 +204,9 @@ class Item:
yield subclass
yield from subclass.get_subclasses()
def __repr__(self):
return f'<{type(self).__module__}.{type(self).__name__} object {id(self)}, itemType = {self.itemType!r}, itemValue = {self.itemValue!r}>'
class QWARC:
def __init__(self, itemClasses, warcBasePath, dbPath, command, specFile, specDependencies, logFilename, concurrency = 1, memoryLimit = 0, minFreeDisk = 0, warcSizeLimit = 0, warcDedupe = False):
Write
Preview
Loading…
取消
儲存