Tystream

Latest version: v1.6.1.1

Safety actively analyzes 714973 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.6.1

**Full Changelog**: https://github.com/Mantouisyummy/TYStream/compare/1.6.0...1.6.1

🎉 Release Notes

🛠 Bug Fixes

- **修正直播偵測問題** 🛠️
- 修正了無法正確偵測直播相關問題的錯誤,確保直播狀態能夠準確反映。

- **修正 Pydantic 驗證錯誤** ✅
- 修復了 Pydantic 在某些情況下無法正確解析資料的問題,導致缺少必要參數時出現驗證錯誤。

- **修正 `offline_image_url` 空字串錯誤** 🖼️
- 當 `offline_image_url` 回傳為空字串時,Pydantic不再發生錯誤,提升了穩定性。

1.6.0

🔄 重構
- **將所有同步方法移至 `sync_api` 目錄**
所有同步方法已重新整理至 `sync_api` 目錄,以提升程式碼結構與可維護性。

- **將所有平台的返回類型從 `dataclass` 轉為 `Pydantic`**
已將所有直播平台的返回類型重構為 `Pydantic`,以增強數據驗證與一致性。

✨ 新功能
- **為 YouTube 直播偵測加入 `yt_dlp` 支援**
現在可以使用 `yt_dlp` 偵測 YouTube 直播,提高偵測準確性與靈活性,以及作為API無法使用的替代方案。

- **為 YouTube 類別的異步 `check_stream_live` 方法新增重載(overload)**
YouTube 類別的 `check_stream_live` 方法現在支援多個重載,提高型別推導準確度,並改善 IDE 體驗。

- **OAuth 例外資訊新增 API 回傳的錯誤資訊**
OAuth 例外資訊現在提供 API 回傳的詳細錯誤訊息,方便除錯與錯誤處理。

📖 文件更新
- **更新 `README.md` 以符合最新版本**
文件內容已更新至最新版本,包含使用範例與功能說明。

---

此版本帶來更佳的程式碼結構、更強的 `Pydantic` 型別安全性,以及額外的 YouTube 直播偵測功能(透過 `yt_dlp`)。🚀

1.5.7

What's New
* Add live streaming information to the parameters of the API request.
* Added Unit Test for Youtube and Twitch Live Streaming.

**Full Changelog**: https://github.com/Mantouisyummy/TYStream/compare/1.5.5...1.5.7

1.5.5

**Full Changelog**: https://github.com/Mantouisyummy/TYStream/compare/1.5.4...1.5.5

fix: Fixed problem with dataclasses folder not being included

1.5.4

**Full Changelog**: https://github.com/Mantouisyummy/TYStream/compare/1.5.3...1.5.4

Fix: not including async_api folder

1.5.3

**Full Changelog**: https://github.com/Mantouisyummy/TYStream/compare/1.5.2...1.5.3

There are no new features in this version, just a few fixes.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.