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
此庫通常以一個中間版本來詮釋重點改變(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, 如果你不知道那是甚麼, 在這裡查看它!
- Python 3.6
- pycrypto
- pycryptodome
- xxhash
- httpx[http2]
- gevent
This project got their help directly/indirectly, thank them deeply