Skip to main content

LINE API!

Project description

LINE DemoS Bot - CHRLINE API

What is CHRLINE?
It is LINE Chrome API, just for debug

If you can help update this project,
Welcome join our Discord

About Project

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

What can it do?

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

TMoreCompactProtocol

We added the simple function of TMoreCompact for the first time on 26 May
And added TMoreCompact to the development version at Jul 8
It's based on the thrift of the LINE Android version
Its purpose is to effectively compress mid (32 bytes) to 16 bytes

Example

from CHRLINE import *

cl = CHRLINE() # login

print('/S3 - len: %s' % len(cl.testTBinary()))
print('/S4 - len: %s' % len(cl.testTCompact()))
print('/S5 - len: %s' % len(cl.testTMoreCompact()))

Result

> /S3 - len: 576
> /S4 - len: 528
> /S5 - len: 496

This shows that TMoreCompact has the best compression
If you want to write TMoreCompact, only need to sniff results and reverse engineer

Requirement

  • Python 3.6
    • pycrypto
    • pycryptodemo
    • xxhash
    • httpx[http2]
    • gevent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CHRLINE-2.5.14.tar.gz (237.6 kB view details)

Uploaded Source

Built Distribution

CHRLINE-2.5.14-py3-none-any.whl (278.5 kB view details)

Uploaded Python 3

File details

Details for the file CHRLINE-2.5.14.tar.gz.

File metadata

  • Download URL: CHRLINE-2.5.14.tar.gz
  • Upload date:
  • Size: 237.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.4

File hashes

Hashes for CHRLINE-2.5.14.tar.gz
Algorithm Hash digest
SHA256 ad2e58868be7c22a0abf9d0ccd6a55c43822646a9d77f8aead427dcc151a6fc1
MD5 7653bae520ddf94d7a93eb619251a8ce
BLAKE2b-256 a76c015a9699190b0d600ecd308073ec2019b80ee1c33c3db5ff8d0e0b33e541

See more details on using hashes here.

File details

Details for the file CHRLINE-2.5.14-py3-none-any.whl.

File metadata

  • Download URL: CHRLINE-2.5.14-py3-none-any.whl
  • Upload date:
  • Size: 278.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.4

File hashes

Hashes for CHRLINE-2.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 deb740c3b867d55c9b09eea6bb49304b1c018315aab409f1fc082ef711d28ceb
MD5 83a28b73e4aee610aef881e21a41ba57
BLAKE2b-256 ce7b1daeddaa87a751657c73ddd69354eb2be4d8c2dbfd4d90f319427d6db64a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page