Skip to content

KlikBCA 3.0

Latest
Compare
Choose a tag to compare
@ammarfaizi2 ammarfaizi2 released this 13 May 20:01
· 11 commits to master since this release
v3.0
95e4675
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

KlikBCA 3.0

Refactor KlikBCA class and run.php file. KlikBCA file contains the core
of this scraper library and run.php file contains the usage example of
this library.

In this refactoring, we have so many improvements, especially for the
logout part. Previously, when we use this library, our KlikBCA session
will be left dangling and can't be used. This makes our account cannot
be accessed for 10 minutes (waiting for the dangling session to be
expired). After this refactoring, this issue is fixed by invoking the
logout endpoint in the KlikBCA class' destructor.

Thanks to Kurniawan for discussing this with me 4 years ago. See the
link below for the story.

Also we have extra cleanups and adding license. This library is now
licensed under the GNU GPL v2.

Link: https://fb.com/2159278187435164
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEnPFHeS9nCFHMiZuUzIza96Lcb+gFAmJ+uNYACgkQzIza96Lc
b+h/eQf/XvJ9MqRNBVvXtMumOQEIGtiAh9r7vCp/RfCTFvrse9UrkDlOKeB9YfJu
RmBH0FGHO8nNxBALKpl7TFsef56No8JrArqZgoMdVCLH0dBWiPW6/pRBASYh92zl
3ncfOlyHbIgDIvsphVHg4ms2dCYi3ThVybw4ewDR2UGKBQJ7RTgCWFD6e4ktnfUd
qnHmp3q64Fe7dqwhRQAiXMmnQxjBBQ9ShzJCNY9Z5y6I6coUYIFWhKGbD+rPBfHk
9yaFVd+lD5gfDa6/lqLvmpGaA3OSgIaPTGTDjy/Dvkb98ybCDlResX0m4Ln7RXZ2
X8fL5jDwTWvfnoJHDkhKoJWwAYRHBg==
=0ZLS
-----END PGP SIGNATURE-----