Since CHRLINE has been archived, I will update it in my own name as CHRLINE-Patch
CHRLINE is supposed to be a library for debugging But as time went by, many users began to ask questions about risk control and API service restrictions, which means it could be used for any business activity. Finally, I decided not to update CHRLINE after 2023/09/19 And archived the library on 11/20 of the same year
This is not CHRLINE, this is CHRLINE-Patch
So I think I'll keep updating it :)
What is CHRLINE?
It is LINE Chrome API, just for debug
If you can help update this project Welcome join our Discord
This project is for debug only, because it does not use thrift
So I don't recommend you to use this to run the bot, even if it has many functions
If you have a certain degree of understanding of Line thrift, then you must have heard of TMoreCompact
But for most people, it is difficult to decompile TMoreCompact, even if it has lower confusion in some version
But if you can use this project to understand the differences in LINE thrift
由於一些原因, 在此版本中已移除所有相關的域名, 敬請悉知
另外, 本庫並非官方API, 使用任何第三方API都會導致帳號封禁風險, 為確保你了解使用本庫將導致你的帳號被封禁, 使用默認參數並不會使你"安全"的使用它, 所以config.py並不會再得到任何應用版本上更新
再者, 本庫默認使用部分已預定義的thrift結構, 請參閱 CHRLINE-Thrift, 但本庫"不會也不應該"同步這些變化, 所以若你想使用它們, 請自行編譯並提供路徑至genThriftPath
此庫通常以一個中間版本來詮釋重點改變(1.0.7 -> 1.1.0) 以一個大版本來詮釋重大改變(1.5.2 -> 2.0.0)
起初本庫是依於LINE Chrome版本反編譯而成, 使用x-le以及x-lcs來進行請求
後來在1.4.0中實現了TMoreCompact協議, 這是LINE在2013(可能更早)導用的專屬thrift緊湊協議, 你可以在這裡查看那是甚麼
在2.0.0中導用了thrift原生庫, 你可以使用useThrift來轉換Dict至已定義的thrift類型
在2.5.0中實現了/PUSH端點的支持, 它類似於SPDY, 用於HTTP2的長輪詢(但它不使用Server Push :v)
在這個時候LINE Chrome有重大改變, 此庫已不完全支持CHROMEOS
在2.6.0中(當前版本) 添加DummyThrfit, 它更方便的檢查當前已定義的thrift缺失了哪些Field, 對於LINE版本更新很有幫助. 與此同時, 也同時支持了E2EE Next, 如果你不知道那是甚麼, 在這裡查看它!
Caution
v2.6.0 移除了 cube.py 以及 timeline.py, 並將其重寫為 BIZ 服務, 整體架構有大幅度的改變!
- Python 3.6 (v2.6.0 changed to 3.8)
- pycryptodome
- xxhash
- rsa
- requests
- httpx[http2]
gevent(v2.6.0 removed)- python-axolotl-curve25519
- cryptography
- thrift
- qrcode
- Image
- rich
This project got their help directly/indirectly, thank them deeply
- fadhiilrachman
- ii64
- ドマオー
- Zero Cool
- sakura
- ぐるぐる
- LINE GUILTY CROWN LOST XMAS & Hey LINE! 's group members
- Discord DemoS's group members
- Modernfarm 🧧
- よう
- shion
- SLOT