[WORK] Прорыв: таблицы совместимости Yealink извлекаются из ProseMirror-JSON; 25 таблиц (audio I/O + кронштейны)
This commit is contained in:
1 parent
2f52b1402b
commit
bd968832ae
4 files changed
+1199
-49
No files matched your search
@@ -1,65 +1,62 @@
|
||||
# Официальные таблицы совместимости Yealink
|
||||
# Официальные списки совместимости Yealink — как добываем
|
||||
|
||||
Дата: 06.11.2026. Источник: **support.yealink.com** (официальные руководства вендора).
|
||||
Дата: 06.11.2026. Источник: **support.yealink.com** (официальный портал вендора).
|
||||
|
||||
## Что нашли
|
||||
## Прорыв: данные достаются из ProseMirror-JSON
|
||||
|
||||
В руководствах Yealink есть раздел **Accessories Compatibility** с таблицей:
|
||||
Страницы поддержки — **Nuxt SPA**, `web_fetch` и `curl` отдают пустую оболочку.
|
||||
Но контент лежит в `<script id="__NUXT_DATA__">` как JSON, а внутри — документ
|
||||
**ProseMirror** (`{"type":"doc","content":[...]}`), где таблицы — узлы `table`.
|
||||
|
||||
```
|
||||
Device | Accessories | Max Qty | Note
|
||||
```
|
||||
**Решение:** `ops/work/tools/fetch_doc_tables.py`
|
||||
1. скачивает страницу
|
||||
2. находит `__NUXT_DATA__`
|
||||
3. рекурсивно ищет ProseMirror-документы
|
||||
4. вытаскивает `table → tableRow → tableCell` в чистые строки
|
||||
5. сохраняет YAML
|
||||
|
||||
Это и есть официальная совместимость: **не просто «да/нет», а лимит количества
|
||||
и условие подключения**. Например: `VCM38 — до 8 шт, каскад/звезда через PoE-коммутатор`.
|
||||
**Проверено на двух разных типах списков — работает универсально.**
|
||||
|
||||
## Как извлекаем
|
||||
## Что уже извлечено
|
||||
|
||||
`ops/work/tools/parse_compat3.py` — pdfplumber, таблицы по координатам:
|
||||
|
||||
1. Находим страницы с `Accessories Compatibility`
|
||||
2. Берём только таблицы, где есть колонка `Max Qty`
|
||||
3. Отсекаем мусор (длинные фразы, заголовки других таблиц, маркеры)
|
||||
4. Дедуплицируем модели внутри устройства (таблицы многократно повторяются на страницах)
|
||||
5. Пишем YAML с провенансом
|
||||
|
||||
## Результат по скачанным руководствам
|
||||
|
||||
| Устройство | Аксессуаров | Проверено |
|
||||
| Список | Таблиц | Пример |
|
||||
|---|---|---|
|
||||
| MeetingEye 400 | 11 | вручную, совпадает с документом |
|
||||
| MeetingEye 600 | 16 | — |
|
||||
| MeetingEye 800 | 22 | — |
|
||||
| **Audio Input and Output** | **17** | `Input / Output / Support Status` — встроенный микрофон, линия, VCM35, USB |
|
||||
| **Mounts & Bracket** | **8** | матрица «кронштейн × устройство» (MeetingBar A25/A40/A50, UVC86, MeetingBoard) |
|
||||
|
||||
**49 рёбер совместимости** с лимитами и условиями.
|
||||
Пример из кронштейнов (реальные данные):
|
||||
|
||||
## Пример (MeetingEye 400)
|
||||
```
|
||||
MeetingBar A25 MeetingBar A50 MeetingBar A40 MeetingBar A10
|
||||
Wall Mount √ (Bundled) √ (Bundled) √ (Bundled) √ (Bundled)
|
||||
VCS-TVMount2 √ (Optional) × √ (Optional) ×
|
||||
TV Mount √ (Optional) × √ (Bundled) √ (Built-in)
|
||||
```
|
||||
|
||||
| Аксессуар | Лимит | Роль | Условие |
|
||||
|---|---|---|---|
|
||||
| CPW90-DECT | 4 | audio | нужен USB-донгл DD10 |
|
||||
| CPW90-BT | 2 | audio | через встроенный Bluetooth |
|
||||
| VCM34 | 4 | audio | каскад/звезда через PoE |
|
||||
| VCM38 | 8 | audio | каскад/звезда через PoE |
|
||||
| CP960 | 1 | audio | нужен VCS-версии |
|
||||
| CP700/900 | 0 | audio | **не поддерживается** |
|
||||
| MSpeaker II | 1 | audio | через VCH-порт |
|
||||
| WPP20 | 5 | sharing | одновременно 1 экран |
|
||||
| WF50 | 1 | sharing | Miracast |
|
||||
| VCR11/VCR20 | — | remote | старый/новый пульт |
|
||||
## Что ещё есть на портале (найти и извлечь)
|
||||
|
||||
## Что ещё нужно собрать
|
||||
Поиск показал, что списков **много** — по семействам и по типам:
|
||||
|
||||
Официальные руководства существуют для **каждой линейки**:
|
||||
MeetingBar, MVC-комплекты, UVC-камеры, CP-телефоны, PRO AV.
|
||||
|
||||
**Следующий шаг:** найти и скачать руководства с разделом Accessories Compatibility
|
||||
для остальных семейств, прогнать тем же парсером.
|
||||
- Audio Input/Output ✔ (сделано)
|
||||
- Mounts & Bracket ✔ (сделано)
|
||||
- Камеры + аксессуары (UVC-линейка)
|
||||
- MeetingBar / MVC-комплекты
|
||||
- MeetingEye (сделано из PDF-руководств)
|
||||
- **PRO AV** — отдельная линейка
|
||||
- **PC как хост** — часть аксессуаров работает с ПК (BYOD)
|
||||
- Телефония / гарнитуры
|
||||
|
||||
## Ловушки (проверено)
|
||||
|
||||
1. Страницы поддержки — JS-приложения, `web_fetch` их не берёт; качать **PDF напрямую**.
|
||||
2. PDF весят **60 МБ** (полные руководства) — парсить через `pdftotext`/`pdfplumber`,
|
||||
не через LLM.
|
||||
3. Таблицы совместимости **повторяются на нескольких страницах** — обязательна дедупликация.
|
||||
4. В таблицах есть строки-заголовки других таблиц (`Name`, `Custom Key`) — фильтровать.
|
||||
1. `web_fetch` на эти страницы возвращает **пустоту** — только `curl` + парсинг NUXT.
|
||||
2. Портал `en/portal/compatible` и `room-configurator` — **пустые оболочки** (3 КБ), данные грузятся отдельно.
|
||||
3. PDF-руководства весят **60 МБ** — только программный разбор.
|
||||
4. Таблицы в руководствах **повторяются на страницах** — обязательна дедупликация.
|
||||
5. В матрицах первый столбец пустой (заголовок строк) — учитывать при разборе.
|
||||
|
||||
## Следующий шаг
|
||||
|
||||
1. Собрать **полный перечень** страниц-списков (по категориям продуктов на портале).
|
||||
2. Прогнать `fetch_doc_tables.py` по всем.
|
||||
3. Привести к единой схеме: `устройство → аксессуар → роль → лимит → условие → источник`.
|
||||
4. Добавить **PC** как узел-хост (аксессуары, работающие с ПК).
|
||||
@@ -0,0 +1,583 @@
|
||||
source: https://support.yealink.com/docs/a50/audio-input-and-output-compatibility-lists/1ee47b5bbc87409da4e409cdcb96b457
|
||||
tables:
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √Configuration required
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- x
|
||||
- - VCM34
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM35
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM38
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- 'A20: xA30: √'
|
||||
- - Built-in speaker
|
||||
- x
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35 Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM36-W Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - MTower + Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √ Configuration required
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √Configuration required
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35 Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM36-W Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - MTower + Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √
|
||||
- - CM50
|
||||
- CS10-D
|
||||
- √AP08 co-worked
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √Configuration required
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For ETV use: √For others: x'
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - USB in
|
||||
- USB out
|
||||
- √
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For ETV use: √For others: x'
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For ETV use: √For others: x'
|
||||
- - CM20
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker + RCA out
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - Built-in speaker + CS10
|
||||
- √Supports up to 4 × CS10 ceiling speakers, which function as expansion speakers alongside the MeetingBoard Pro's built-in microphones and speakers.
|
||||
- - Built-in speaker + MSpeaker II
|
||||
- x
|
||||
- - Line input (3.5mm)
|
||||
- RCA out
|
||||
- √
|
||||
- - USB in
|
||||
- USB out
|
||||
- √
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker + RCA out
|
||||
- 'For hearing aid: xFor others: x'
|
||||
- - VCM35 Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker + RCA out
|
||||
- 'For hearing aid: xFor others: x'
|
||||
- - VCM36-W Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CM20
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - CS10 + Built-in speaker
|
||||
- x
|
||||
- - CM50 (used with AP08)
|
||||
- Built-in speaker
|
||||
- x
|
||||
- - CS10-D
|
||||
- √
|
||||
- - Built-in microphone+MTower
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - Built-in speaker+CS10
|
||||
- x
|
||||
- - Built-in speaker+MSpeaker II
|
||||
- x
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - USB in
|
||||
- USB out
|
||||
- √
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - CM20
|
||||
- Built-in speaker
|
||||
- x
|
||||
- - CS10
|
||||
- x
|
||||
- - CS10+Built-in speaker
|
||||
- x
|
||||
- - CM50
|
||||
- Built-in speaker
|
||||
- x
|
||||
- - CS10-D
|
||||
- x
|
||||
- - Built-in microphone+MTower
|
||||
- Built-in speaker
|
||||
- x
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For ETV use: √For others: x'
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For ETV use: √For others: x'
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- √
|
||||
- - CM20
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5 mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - Built-in speaker+CS10
|
||||
- √Supports up to 4 × CS10 external microphones working simultaneously with the MeetingBoard Pro's built-in microphones.
|
||||
- - Built-in speaker+MSpeaker II
|
||||
- x
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - VCM35 Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Built-in speaker+Line output (3.5mm)
|
||||
- 'For hearing aid: √For others: x'
|
||||
- - VCM36-W Pro+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CM20
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - CS10+Built-in speaker
|
||||
- x
|
||||
- - CM50
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - CS10-D
|
||||
- √
|
||||
- - Built-in microphone+MTower
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - CP50
|
||||
- CP50
|
||||
- √Support connecting CPE40
|
||||
- - CPE40
|
||||
- CPE40
|
||||
- √
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeakerII
|
||||
- √
|
||||
- - VCM35
|
||||
- MSpeakerII
|
||||
- √
|
||||
- - HDMI
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- x
|
||||
- - VCM35 Pro
|
||||
- Mspeaker Pro
|
||||
- √
|
||||
- - HDMI
|
||||
- xNot supported now
|
||||
- - Line output (3.5mm)
|
||||
- xNot supported now
|
||||
- - CP965
|
||||
- CP965
|
||||
- √Support connecting CPE95
|
||||
- - Line input (3.5mm)
|
||||
- MSpeakerII
|
||||
- x
|
||||
- - HDMI
|
||||
- x
|
||||
- - Line output (3.5mm)
|
||||
- √
|
||||
- - USB audio input
|
||||
- USB audio output
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - VCM35
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - VCM36-W
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - Line in
|
||||
- Line out
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - VCM35
|
||||
- CS10
|
||||
- √
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - Built-in microphone+MTower
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - VCM35
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √UVC86 version requires 151.435.0.30 or later
|
||||
- - VCM36-W
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √UVC86 version requires 151.435.0.30 or later
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √UVC86 version requires 151.435.0.30 or later
|
||||
- - CPW65
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSPK Pro
|
||||
- √UVC86 version requires 151.435.0.30 or later
|
||||
- - CPW90
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSPK Pro
|
||||
- √UVC86 version requires 151.435.0.30 or later
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - CP50
|
||||
- CP50
|
||||
- √Support connecting CPE40
|
||||
- - CPE40
|
||||
- CPE40
|
||||
- √CPE40 must be cascaded to CP50 first and cannot be connected directly to UVC85
|
||||
- - Line in
|
||||
- Line out
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM35+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - VCM36-W+Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - MTower + Built-in microphone
|
||||
- Built-in speaker
|
||||
- √
|
||||
- - Line output (3.5mm)
|
||||
- √Configuration required
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √
|
||||
- - CM50
|
||||
- CS10-D
|
||||
- √
|
||||
- - Line input (3.5mm)
|
||||
- Line output (3.5mm)
|
||||
- √
|
||||
- - Built-in speaker
|
||||
- √
|
||||
- - - Input
|
||||
- Output
|
||||
- Support Status
|
||||
- - VCM35
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - VCM36-W
|
||||
- MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - CS10
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - CM20
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - Line in
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - RCA out
|
||||
- √
|
||||
- - RCA in
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - RCA out
|
||||
- √
|
||||
- - CPW65
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
- - CPW90
|
||||
- CS10
|
||||
- √
|
||||
- - MSpeaker II
|
||||
- √
|
||||
- - MSpeaker Pro
|
||||
- √
|
||||
- - Line out
|
||||
- √
|
||||
@@ -0,0 +1,452 @@
|
||||
source: https://support.yealink.com/docs/meetingdisplay/mounts-bracket-compatibility-lists/57280ec0e4f044c6aa9f72b712305622
|
||||
tables:
|
||||
- - - ''
|
||||
- MeetingBar A25/A25-BYOM
|
||||
- MeetingBar A50
|
||||
- MeetingBar A40
|
||||
- MeetingBar A10
|
||||
- MeetingBar A20
|
||||
- MeetingBar A30
|
||||
- - Wall Mount Bracket
|
||||
- √ (Bundled)
|
||||
- '√ (Bundled: VB-WallMount-02)'
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - VCS-TVMount2[1]
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - TV Mount
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- '√ (Bundled: TV-Clip Mount)'
|
||||
- √ (Built-in)
|
||||
- '√ (Bundled: TV-Clip Mount)'
|
||||
- ×
|
||||
- - VB-TabletopMount-01
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - Ceiling Mount
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - VB-TabletopMount-02
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - VB-TVMount-01
|
||||
- √(only for bottom)
|
||||
- √ (Optional)
|
||||
- √(only for bottom)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MD-AVBracket-S
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MD-AVBracket-L
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MD-PTZBracket
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - - ''
|
||||
- UVC86
|
||||
- UVC40/UVC40 E2
|
||||
- SmartVision 80
|
||||
- SmartVision 40
|
||||
- UVC34
|
||||
- UVC84
|
||||
- - Wall Mount Bracket
|
||||
- '√ (Bundled: UVC86-WallMount)'
|
||||
- √ (Bundled)
|
||||
- '√ (Bundled: SV80-WallMount)'
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - VCS-TVMount2[1]
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- - TV Mount
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- - VB-TabletopMount-01
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √(Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - Ceiling Mount
|
||||
- '√ (Bundled: UVC8X Mount Kits)'
|
||||
- ×
|
||||
- '√ (Optional: UVC8X Mount Kits)'
|
||||
- ×
|
||||
- ×
|
||||
- '√ (Bundled: UVC8X Mount Kits)'
|
||||
- - VB-TabletopMount-02
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - VB-TVMount-01
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - MD-AVBracket-S
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - MD-AVBracket-L
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MD-PTZBracket
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- - - ''
|
||||
- MeetingBoard 65
|
||||
- MeetingBoard 86
|
||||
- MeetingBoard 65 Pro
|
||||
- MeetingBoard 75 Pro
|
||||
- MeetingBoard 86 Pro
|
||||
- MeetingBoard 65C EDLA
|
||||
- MeetingBoard 75C EDLA
|
||||
- - MB-WallMount-650
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- - MB-WallMount-860
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- - MB-WallStand-650
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- - MB-WallStand-860
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- - MB-WallStand-650W
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- - MB-WallStand-860W
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- - MB-Tray-650[1]
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-Tray-860[2]
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-FloorStand-650
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-FloorStand-860
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-FS-P650T
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-FS-P750T
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - MB-FS-P860T
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - VESA Standard
|
||||
- 600 mm x 400 mm
|
||||
- 800 mm x 600 mm
|
||||
- 600 mm x 400 mm
|
||||
- 800 mm x 400 mm
|
||||
- 800 mm x 600 mm
|
||||
- 600 mm x 400 mm
|
||||
- 800 mm x 400 mm
|
||||
- - MB-FS-Lift
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MB-FS-VESA
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - - ''
|
||||
- MeetingDisplay 55
|
||||
- MeetingDisplay 65
|
||||
- MeetingDisplay 75
|
||||
- MeetingDisplay 86
|
||||
- - MD-WallMount
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MB-WallStand-650W
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - MB-WallStand-860W
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MD-AVBracket-S
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MD-AVBracket-L
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MD-PTZBracket
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - VESA Standard
|
||||
- 400 mm × 400 mm
|
||||
- 400 mm × 400 mm
|
||||
- 600 mm × 400 mm
|
||||
- 600 mm × 400 mm
|
||||
- - MB-FS-Lift
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - MB-FS-VESA
|
||||
- √ (Optional)*
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- - - ''
|
||||
- MCore
|
||||
- MCore Pro
|
||||
- MCore Lite
|
||||
- MCore 4
|
||||
- Yealink AVHub
|
||||
- - Wall Mount Bracket
|
||||
- '√ (Bundled: MCore-WallMount-01)'
|
||||
- '√ (Bundled: MCore-WallMount-01)'
|
||||
- '√ (Bundled: MCore-WallMount-01)'
|
||||
- '√ (Bundled: MCore4-WallMount)'
|
||||
- √ (Bundled)
|
||||
- - Rack Mount
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- - - ''
|
||||
- CTP18
|
||||
- CTP25
|
||||
- MTouch Plus
|
||||
- MTouch E2
|
||||
- MTouch Plus-EXT
|
||||
- MTouch Plus-MB
|
||||
- - Desk Mount Bracket
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - Wall Mount Bracket
|
||||
- √ (Bundled)
|
||||
- '√ (Optional: CTP25 Mount Kits)'
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - Rotation Mount Bracket
|
||||
- ×
|
||||
- '√ (Optional: CTP25 Mount Kits)'
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - - ''
|
||||
- VCM35 Pro
|
||||
- VCM36-W Pro
|
||||
- VCM35
|
||||
- VCM36-W
|
||||
- CM20
|
||||
- CM50
|
||||
- - VCM35P-FlushMount-02
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- - VCM-TabletopMount-01
|
||||
- ×
|
||||
- ×
|
||||
- √ (Optional)
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- ×
|
||||
- - On Ceiling Mount Kit
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- '√ (Optional: CM-MountKIT)'
|
||||
- √ (Bundled)
|
||||
- - In Ceiling Mount Kit
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - Suspension Mount Kit
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- √ (Bundled)
|
||||
- √ (Bundled)
|
||||
- - Pole Mount Kit
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- ×
|
||||
- '√ (Optional: CM-MountKIT)'
|
||||
- ×
|
||||
- - - ''
|
||||
- MSpeaker Pro
|
||||
- CS10/CS10-D
|
||||
- - Wall Mount Bracket
|
||||
- √ (Bundled)
|
||||
- ×
|
||||
- - MD-AVBracket-S
|
||||
- √ (Optional)
|
||||
- ×
|
||||
- - In Ceiling Mount Kit
|
||||
- ×
|
||||
- √
|
||||
- - Suspension Mount Kit
|
||||
- ×
|
||||
- '√ (Bundled; Optional: CS-PendantMount)'
|
||||
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Извлечение таблиц совместимости из ProseMirror-JSON страниц support.yealink.com.
|
||||
|
||||
Страница — Nuxt SPA; контент лежит в __NUXT_DATA__ как JSON-строка
|
||||
{"type":"doc","content":[...]}. Таблицы — узлы type=table.
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/120"
|
||||
OUT = os.environ.get("COMPAT_OUT", "/opt/work-hub/compat")
|
||||
|
||||
|
||||
def fetch(url, dest="/tmp/page.html"):
|
||||
subprocess.run(["curl", "-sL", "-m", "60", "-A", UA, "-o", dest, url],
|
||||
capture_output=True, text=True, timeout=120)
|
||||
return open(dest, encoding="utf-8", errors="ignore").read()
|
||||
|
||||
|
||||
def prosemirror_docs(html):
|
||||
"""Все ProseMirror-документы со страницы."""
|
||||
m = re.search(r'<script[^>]*id="__NUXT_DATA__"[^>]*>(.*?)</script>', html, re.S)
|
||||
if not m:
|
||||
return []
|
||||
try:
|
||||
data = json.loads(m.group(1).strip())
|
||||
except Exception:
|
||||
return []
|
||||
docs = []
|
||||
|
||||
def walk(o):
|
||||
if isinstance(o, str):
|
||||
s = o.strip()
|
||||
if s.startswith('{"type":"doc"'):
|
||||
try:
|
||||
docs.append(json.loads(s))
|
||||
except Exception:
|
||||
pass
|
||||
elif isinstance(o, list):
|
||||
for v in o:
|
||||
walk(v)
|
||||
elif isinstance(o, dict):
|
||||
for v in o.values():
|
||||
walk(v)
|
||||
walk(data)
|
||||
return docs
|
||||
|
||||
|
||||
def text_of(node):
|
||||
if not isinstance(node, dict):
|
||||
return ""
|
||||
if node.get("type") == "text":
|
||||
return node.get("text", "")
|
||||
parts = [text_of(c) for c in node.get("content") or []]
|
||||
return "".join(parts)
|
||||
|
||||
|
||||
def tables_of(doc):
|
||||
"""Возвращает список таблиц: [[cell, cell, ...], ...]."""
|
||||
out = []
|
||||
|
||||
def walk(n):
|
||||
if not isinstance(n, dict):
|
||||
return
|
||||
if n.get("type") == "table":
|
||||
rows = []
|
||||
for row in n.get("content") or []:
|
||||
if row.get("type") != "tableRow":
|
||||
continue
|
||||
cells = []
|
||||
for cell in row.get("content") or []:
|
||||
cells.append(re.sub(r"\s+", " ", text_of(cell)).strip())
|
||||
if cells:
|
||||
rows.append(cells)
|
||||
if rows:
|
||||
out.append(rows)
|
||||
return
|
||||
for c in n.get("content") or []:
|
||||
walk(c)
|
||||
walk(doc)
|
||||
return out
|
||||
|
||||
|
||||
def main():
|
||||
urls = sys.argv[1:]
|
||||
if not urls:
|
||||
print("использование: fetch_doc_tables.py <url> [<url>...]")
|
||||
return 1
|
||||
import yaml
|
||||
os.makedirs(OUT, exist_ok=True)
|
||||
for url in urls:
|
||||
html = fetch(url)
|
||||
docs = prosemirror_docs(html)
|
||||
slug = url.rstrip("/").split("/")[-2] or "doc"
|
||||
print("\n=== %s ===" % slug)
|
||||
print(" документов ProseMirror: %d" % len(docs))
|
||||
all_tables = []
|
||||
for d in docs:
|
||||
all_tables += tables_of(d)
|
||||
print(" таблиц: %d" % len(all_tables))
|
||||
for i, t in enumerate(all_tables[:3]):
|
||||
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()))
|
||||
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,
|
||||
allow_unicode=True, sort_keys=False, width=200)
|
||||
print(" сохранено:", path)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Reference in new issue
Block a user