[WORK] 7 источников: 6 списков Yealink + Flexible Peripherals (лимиты аксессуаров, 3rd-party Biamp/Shure/QSC); имена файлов с хешем
This commit is contained in:
1 parent
516212cd69
commit
e9bb678634
8 files changed
+47
-2
No files matched your search
File renamed without changes.
@@ -0,0 +1,43 @@
|
||||
source:
|
||||
file: Flexible Peripherals Options (yealink.com, 2022-06-06)
|
||||
url: https://www.yealink.com/website-service/attachment/system/documents/20220606/202206061017157087ad2a5784be29651fe6b08be4dd6.pdf
|
||||
kind: official_marketing_spec
|
||||
verified: true
|
||||
note: Лимиты аксессуаров и совместимость с 3rd-party аудио (Biamp/Shure/QSC)
|
||||
peripherals_limits:
|
||||
- model: CPW90
|
||||
role: audio
|
||||
kind: DECT-микрофон
|
||||
max_qty: 4
|
||||
- model: VCM36
|
||||
role: audio
|
||||
kind: беспроводной микрофон
|
||||
max_qty: 4
|
||||
- model: VCM38
|
||||
role: audio
|
||||
kind: потолочный микрофон
|
||||
max_qty: 8
|
||||
- model: VCM34
|
||||
role: audio
|
||||
kind: массив микрофонов
|
||||
max_qty: 6
|
||||
- model: MSpeech
|
||||
role: audio
|
||||
kind: микрофон/динамик
|
||||
max_qty: 2
|
||||
- model: MSpeaker II
|
||||
role: audio
|
||||
kind: динамик
|
||||
max_qty: 4
|
||||
third_party_audio:
|
||||
hosts:
|
||||
- MCore
|
||||
- AVHub
|
||||
- UVC86
|
||||
- UVC84
|
||||
vendors:
|
||||
- Shure
|
||||
- Biamp
|
||||
- QSC
|
||||
status: fully tested
|
||||
note: MVC + Biamp DSP + Biamp микрофоны — рабочий сценарий
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -94,7 +94,9 @@ def main():
|
||||
for url in urls:
|
||||
html = fetch(url)
|
||||
docs = prosemirror_docs(html)
|
||||
slug = url.rstrip("/").split("/")[-2] or "doc"
|
||||
parts = [p for p in url.rstrip("/").split("/") if p]
|
||||
doc_hash = parts[-1][:8] if parts else "unknown"
|
||||
slug = (parts[-2] if len(parts) > 1 else "doc")
|
||||
print("\n=== %s ===" % slug)
|
||||
print(" документов ProseMirror: %d" % len(docs))
|
||||
all_tables = []
|
||||
@@ -105,7 +107,7 @@ def main():
|
||||
print(" таблица %d: %d строк" % (i + 1, len(t)))
|
||||
for row in t[:4]:
|
||||
print(" ", " | ".join(c[:22] for c in row[:5]))
|
||||
path = os.path.join(OUT, "raw", "%s.yaml" % re.sub(r"[^a-z0-9-]", "_", slug.lower()))
|
||||
path = os.path.join(OUT, "raw", "%s-%s.yaml" % (re.sub(r"[^a-z0-9-]", "_", slug.lower()), doc_hash))
|
||||
os.makedirs(os.path.dirname(path), exist_ok=True)
|
||||
with open(path, "w", encoding="utf-8") as f:
|
||||
yaml.safe_dump({"source": url, "tables": all_tables}, f,
|
||||
|
||||
Reference in new issue
Block a user