Releases: RuslanUC/aio-hcaptcha
Releases · RuslanUC/aio-hcaptcha
1.0.0b11
Full Changelog: 1.0.0b9...1.0.0b11
1.0.0b9
OpenCV for replit
Fixed opencv (cv2) version for replit.
Download opencv.tar.gz file to your replit home directory (/home/runner/), extract (tar -xvf opencv.tar.gz
) and add this code to your main file (before all imports):
import sys
from os import environ
sys.path.insert(0, f"/home/runner/{environ['REPL_SLUG']}/opencv")
Also you need to edit replit.nix file, so it will look like this:
{ pkgs }: {
deps = [
pkgs.unzip
pkgs.wget
pkgs.python38Full
# Add this:
pkgs.chromium
pkgs.chromedriver
pkgs.nss
pkgs.nspr
pkgs.xorg.libxcb
pkgs.dbus
pkgs.libGL
];
env = {
PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
# Needed for pandas / numpy
pkgs.stdenv.cc.cc.lib
pkgs.zlib
# Needed for pygame
pkgs.glib
# Needed for matplotlib
pkgs.xorg.libX11
# Add this:
pkgs.chromium
pkgs.chromedriver
pkgs.libGL
];
# Add this:
LD_LIBRARY_PATH="${pkgs.glib.out}/lib:${pkgs.nss.out}/lib:${pkgs.nspr.out}/lib:${pkgs.xorg.libxcb.out}/lib:${pkgs.dbus.out}/lib:${pkgs.libGL.out}/lib:$LD_LIBRARY_PATH";
PYTHONBIN = "${pkgs.python38Full}/bin/python3.8";
LANG = "en_US.UTF-8";
};
}
1.0.0b7
Full Changelog: 1.0.0b6...1.0.0b7
1.0.0b6
Full Changelog: 1.0.0b5...1.0.0b6
1.0.0b5
Full Changelog: 1.0.0b4...1.0.0b5
1.0.0b4
Full Changelog: 1.0.0b3...1.0.0b4
1.0.0b2
Full Changelog: https://github.com/RuslanUC/aio-hcaptcha/commits/1.0.0b2