Giter Site home page Giter Site logo

imwildcat / scylla Goto Github PK

View Code? Open in Web Editor NEW
3.9K 78.0 476.0 682 KB

Intelligent proxy pool for Humans™ to extract content from the internet and build your own Large Language Models in this new AI era

License: Apache License 2.0

Python 76.49% Makefile 1.66% TypeScript 15.69% HTML 1.67% Dockerfile 1.31% SCSS 0.64% Shell 0.17% JavaScript 0.47% CSS 1.90%
crawler python3 scylla proxy-pool python

scylla's Introduction

banner_scylla Build Status codecov Documentation Status PyPI version Docker Pull Donate

Scylla

An intelligent proxy pool for humanities, to extract content from the internet and build your own Large Language Models in this new AI era.

Key features:

  • Automatic proxy ip crawling and validation
  • Easy-to-use JSON API
  • Simple but beautiful web-based user interface (eg. geographical distribution of proxies)
  • Get started with only 1 command minimally
  • Simple HTTP Forward proxy server
  • Scrapy and requests integration with only 1 line of code minimally
  • Headless browser crawling

Get started

Installation

Install with Docker (highly recommended)

docker run -d -p 8899:8899 -p 8081:8081 -v /var/www/scylla:/var/www/scylla --name scylla wildcat/scylla:latest

Install directly via pip

pip install scylla
scylla --help
scylla # Run the crawler and web server for JSON API

Install from source

git clone https://github.com/imWildCat/scylla.git
cd scylla

pip install -r requirements.txt

cd frontend
npm install
cd ..

make assets-build

python -m scylla

Usage

This is an example of running a service locally (localhost), using port 8899.

Note: You might have to wait for 1 to 2 minutes in order to get some proxy ips populated in the database for the first time you use Scylla.

JSON API

Proxy IP List

http://localhost:8899/api/v1/proxies

Optional URL parameters:

Parameters Default value Description
page 1 The page number
limit 20 The number of proxies shown on each page
anonymous any Show anonymous proxies or not. Possible values:true, only anonymous proxies; false, only transparent proxies
https any Show HTTPS proxies or not. Possible values:true, only HTTPS proxies; false, only HTTP proxies
countries None Filter proxies for specific countries. Format example: US, or multi-countries: US,GB

Sample result:

{
    "proxies": [{
        "id": 599,
        "ip": "91.229.222.163",
        "port": 53281,
        "is_valid": true,
        "created_at": 1527590947,
        "updated_at": 1527593751,
        "latency": 23.0,
        "stability": 0.1,
        "is_anonymous": true,
        "is_https": true,
        "attempts": 1,
        "https_attempts": 0,
        "location": "54.0451,-0.8053",
        "organization": "AS57099 Boundless Networks Limited",
        "region": "England",
        "country": "GB",
        "city": "Malton"
    }, {
        "id": 75,
        "ip": "75.151.213.85",
        "port": 8080,
        "is_valid": true,
        "created_at": 1527590676,
        "updated_at": 1527593702,
        "latency": 268.0,
        "stability": 0.3,
        "is_anonymous": true,
        "is_https": true,
        "attempts": 1,
        "https_attempts": 0,
        "location": "32.3706,-90.1755",
        "organization": "AS7922 Comcast Cable Communications, LLC",
        "region": "Mississippi",
        "country": "US",
        "city": "Jackson"
    },
    ...
    ],
    "count": 1025,
    "per_page": 20,
    "page": 1,
    "total_page": 52
}

System Statistics

http://localhost:8899/api/v1/stats

Sample result:

{
    "median": 181.2566407083,
    "valid_count": 1780,
    "total_count": 9528,
    "mean": 174.3290085201
}

HTTP Forward Proxy Server

By default, Scylla will start a HTTP Forward Proxy Server on port 8081. This server will select one proxy updated recently from the database and it will be used for forward proxy. Whenever an HTTP request comes, the proxy server will select a proxy randomly.

Note: HTTPS requests are not supported at present.

The example for curl using this proxy server is shown below:

curl http://api.ipify.org -x http://127.0.0.1:8081

You could also use this feature with requests:

requests.get('http://api.ipify.org', proxies={'http': 'http://127.0.0.1:8081'})

Web UI

Open http://localhost:8899 in your browser to see the Web UI of this project.

Proxy IP List

http://localhost:8899/

Screenshot:

screenshot-proxy-list

Globally Geographical Distribution Map

http://localhost:8899/#/geo

Screenshot:

screenshot-geo-distribution

API Documentation

Please read Module Index.

Roadmap

Please see Projects.

Development and Contribution

git clone https://github.com/imWildCat/scylla.git
cd scylla

pip install -r requirements.txt

npm install
make assets-build

Testing

If you wish to run tests locally, the commands are shown below:

pip install -r tests/requirements-test.txt
pytest tests/

You are welcomed to add more test cases to this project, increasing the robustness of this project.

Naming of This Project

Scylla is derived from the name of a group of memory chips in the American TV series, Prison Break. This project was named after this American TV series to pay tribute to it.

Help

How to install Python Scylla on CentOS7

Donation

If you find this project useful, could you please donate some money to it?

No matter how much the money is, Your donation will inspire the author to develop new features continuously! 🎉 Thank you!

The ways for donation are shown below:

GitHub Sponsor

I super appreciate if you can join my sponsors here.

https://github.com/sponsors/imWildCat

PayPal

paypal_donation

License

Apache License 2.0. For more details, please read the LICENSE file.

scylla's People

Contributors

baabaaox avatar dahchon avatar dependabot[bot] avatar guangfnian avatar imwildcat avatar kivson avatar memwey avatar paleneutron avatar shawwwn avatar slavaganzin avatar timgates42 avatar upgradvisor-bot avatar wvengen avatar yaohuiwu avatar zhanglc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scylla's Issues

can not start scylla on python3 virtualenv

Describe the bug
After installed scylla using pip cannot start scylla

To Reproduce
Here's my steps

  1. Working with python3 on virtual env.
(autocoin) ➜  ~ python
Python 3.6.5 (default, Apr 25 2018, 14:23:58)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
  1. Install scylla
pip install scylla
  1. Start scylla in itermal2
scylla
  1. Got error
    error logs:
2018-05-28 - 23:30:50 DEBUG: create new connection
2018-05-28 - 23:30:50 INFO: Scheduler starts...
2018-05-28 - 23:30:50 DEBUG: feed 9 providers...
2018-05-28 - 23:30:50 INFO: Start python scheduler
2018-05-28 - 23:30:50 INFO: worker_process started
2018-05-28 - 23:30:50 INFO: validator_thread started
2018-05-28 - 23:30:50 INFO: Start the web server
[2018-05-28 23:30:50 +0800] [27105] [INFO] Goin' Fast @ http://0.0.0.0:8899
2018-05-28 - 23:30:50 DEBUG: fetch_ips...
2018-05-28 - 23:30:50 DEBUG: Get a provider from the provider queue: A2uProvider
[2018-05-28 23:30:50 +0800] [27105] [INFO] Starting worker [27105]
objc[27108]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[27108]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

And I cannot open http://0.0.0.0:8899/

Screenshots
image

Desktop :

  • OS: macOS 10.13.4

no proxy crawled

Please provide the following information if applicable:

  • Operating system and its version:
    Mac 10.10.5, python3.6.6

  • Version number of Scylla:
    1.1.5

no proxy is crawled

2019-01-15 - 13:05:59 DEBUG: create new db connection
2019-01-15 - 13:05:59 INFO: Scheduler starts...
2019-01-15 - 13:05:59 DEBUG: feed 8 providers...
2019-01-15 - 13:05:59 INFO: Start python scheduler
2019-01-15 - 13:05:59 INFO: worker_process started
2019-01-15 - 13:05:59 INFO: validator_thread started
2019-01-15 - 13:05:59 DEBUG: fetch_ips...
2019-01-15 - 13:05:59 INFO: Start the web server
[2019-01-15 13:05:59 +0800] [98963] [INFO] Goin' Fast @ http://0.0.0.0:8899
2019-01-15 - 13:05:59 DEBUG: Get a provider from the provider queue: A2uProvider
[2019-01-15 13:05:59 +0800] [98963] [INFO] Starting worker [98963]
2019-01-15 - 13:05:59 INFO: Start forward proxy server on port 8081
2019-01-15 - 13:06:59 DEBUG: Feed 0 proxies from the database for a second time validation

ip验证

总是有很多无效ip

希望可以自定义ip验证

例如从ip.cn返回相同的ip说明是可用的

Python 3.5.2 提示语法错误

你好,

pip3 install scylla 装好之后,运行提示出错:

# /usr/local/bin/scylla
2019-01-26 - 10:45:15 DEBUG: create new db connection
Traceback (most recent call last):
  File "/usr/local/bin/scylla", line 11, in <module>
    sys.exit(app_main())
  File "/usr/local/lib/python3.5/dist-packages/scylla/cli.py", line 84, in app_main
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/lib/python3.5/dist-packages/scylla/cli.py", line 46, in main
    from scylla.scheduler import Scheduler
  File "/usr/local/lib/python3.5/dist-packages/scylla/scheduler.py", line 26
    provider: BaseProvider = q.get()

can't get ip list

Describe the bug
i can't get the ip list by web server.
err log:
TypeError: Object of type 'datetime' is not JSON serializable

File "**\lib\site-packages\scylla\web\server.py", line 107, in api_v1_proxies

To Reproduce
Steps to reproduce the behavior:

  1. start scylla
  2. open http://localhost:8899/#/
  3. click Proxy IP List

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: pc
  • OS: windows 10
  • Browser chrome

Chinese documentation

This project needs Chinese documentation because a number of target users would be Chinese.

"Received HTTP code 405 from proxy after CONNECT" 错误

你好,

代理池里一共有4个IP,

screenshot 2019-01-26 at 11 00 04 am

直接用 8081 的端口会提示:

# curl https://api.ipify.org -x http://127.0.0.1:8081/
curl: (56) Received HTTP code 405 from proxy after CONNECT

分别用上面的代理测试,

# curl https://api.ipify.org -x http://193.27.208.137:59032
curl: (56) Proxy CONNECT aborted
# curl https://api.ipify.org -x http://203.142.68.138:8080
203.142.68.138
# curl https://api.ipify.org -x http://138.201.223.250:31288
178.162.222.250
# curl https://api.ipify.org -x http://177.86.0.180:50160
177.86.0.180

这是个bug?

pip3 installation and start failed

OS: Mac OS X 10.13.4 x86_64
Scylla Version: latest

I didn't use Chromium. I installed it through pip3 here, there is no error in the installation.

image

In fact, I should install sanic and sanic_cors in advance.

image

So this should be recorded in the README, and other people may also encounter such problems.

Thank you for writing the software, it's cool 🍻

可用ip太少

您好~ 可用ip太少,是不是采集的免费代理网站都挂了?另外,作者有没有计划加入更多的国内ip,减少使用时的延迟~~谢谢
image

为撒 在代理的时候会报400?

Some aspect of the requested URL is incorrect.

Some possible problems are:

  • Missing or incorrect access protocol (should be http:// or similar)

  • Missing hostname

  • Illegal double-escape in the URL-Path

  • Illegal character in hostname; underscores are not allowed.

Scrapoxy Integration

Hello,

It could be a good idea to integrate Scrapoxy.io into scylla.

You can add in a minute many hundreds private proxies (open source). Could be interesting.

Best regards,
Fabien

api/v1/stats http 500

  • docker 跑了1个小时了,1个代理都没
  • api/v1/stats http 500
  • scylla 1.1.2

scylla 1.0 没问题

Feature request: support filtering countries (JSON API)

Is your feature request related to a problem? Please describe.
As for the JSON API, filtering countries is a useful feature.

Describe the solution you'd like
Add an optional where() statement to the SQL query for the API of api/v1/proxies, its potential URL param is countries and it should support multi-countries in the query. In addition, only country code is supported, for example:

  • CN
  • US
  • GB

Describe alternatives you've considered
None, at present.

Additional context
Add any other context or screenshots about the feature request here.

docker run not work

Describe the bug
docker run not work

(base) ➜  ~ docker ps -all
CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS                     PORTS               NAMES
e50c1035ba1a        wildcat/scylla:latest   "/bin/sh -c 'python …"   16 minutes ago      Exited (1) 2 minutes ago                       scylla

To Reproduce
Steps to reproduce the behavior:

  1. docker run -d -p 8899:8899 -p 8081:8081 -v /var/www/scylla:/var/www/scylla --name scylla wildcat/scylla:latest
  2. docker ps -all

Expected behavior

should work...

Screenshots

n/a

Desktop (please complete the following information):

  • OS: Ubuntu 16.04

Feature request: Detailed validation documentation

Is your feature request related to a problem? Please describe.
A number of users are concerned about the validation rules for proxies. More detailed doc is needed.

Describe the solution you'd like

  • Implement a better algorithm to validate the IPs
    • HTTPS proxy validation
    • Create a ValidationTask class as a wrapper of ProxyIP for the validation queue in order to:
      • Retry if the initial validation fails
    • English and Chinese doc about this validation algorithm

Describe alternatives you've considered
None.

Additional context
None

Error when proxy via proxifier or proxychains

Describe the bug
Error when proxy via proxifier or proxychains.

To Reproduce
Steps to reproduce the behavior:

  1. vim /etc/proxychains.conf
  2. add proxy "http 127.0.0.1 8081"
  3. execute shell "proxychains curl ip.sb"
  4. we get "curl: (6) Could not resolve host: ip.sb",and console print "WARNING:tornado.access:405 CONNECT 8.8.8.8:53 (127.0.0.1) 0.52ms"

proxifier will return:

[38:18] Error : the proxy server cannot establish connection with www.baidu.com:80
	The error may indicate that the proxy server doesn't support SSL connections.
	It means that the proxy can be used for web browsing but it cannot work with Proxifier.
	The proxy server reply header is:
		HTTP/1.1 405 Method Not Allowed
		Server: TornadoServer/5.0.2
		Content-Type: text/html; charset=UTF-8
		Date: Sun, 23 Dec 2018 11:38:18 GMT
		Content-Length: 87

Expected behavior
it's should work normally.

Screenshots
image

image

Desktop (please complete the following information):

  • OS: windows
  • Browser chrome
  • Version lastest

auto proxy problem

希望能支持socks5,单纯http proxy不能用
希望能做到使用8081自然的代理访问QQ主页,google主页,youtube主页。
QQ
Google
Youtube

Support Customized Validation & Performance Evaluation Policy.

Is your feature request related to a problem? Please describe.
It would be great if scylla supports extension (i.e. to run user-defined functions) on proxy validation & performance evaluation.

Describe the solution you'd like
validation: to check if the proxy could visit a specific page (not being blocked).
performance evaluation: to calculate the averaged page load time (a specific page) and could be as proxy ordering.

Describe alternatives you've considered
null.

Additional context
null

Not feeding providers after the very first run

  • Operating system and its version:
    Ubuntu 16.04
  • Version number of Scylla:
    docker image: scylla:latest
  • Version number of your Chromium (if related):

So when i start the service via docker run, it does bootstrap a2u and coolproxy but no more. From the log i can see it's trying to feed providers every 10 min but it doesn't seem be running fine.

Screenshot of log:
image

Any help would be appreciated. Let me know if more information is needed.

Thanks.

No OSX support?

hmm i tried with docker which says like there is no path /var/www which is true for mac osx.

The pip3 package don't work as it shows this message

2019-01-08 - 02:57:58 DEBUG: create new db connection
Traceback (most recent call last):
  File "/usr/local/bin/scylla", line 11, in <module>
    sys.exit(app_main())
  File "/usr/local/lib/python3.7/site-packages/scylla/cli.py", line 84, in app_main
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/lib/python3.7/site-packages/scylla/cli.py", line 48, in main
    from scylla.proxy import start_forward_proxy_server_non_blocking
  File "/usr/local/lib/python3.7/site-packages/scylla/proxy/__init__.py", line 1, in <module>
    from .server import start_forward_proxy_server_non_blocking, start_forward_proxy_server
  File "/usr/local/lib/python3.7/site-packages/scylla/proxy/server.py", line 14, in <module>
    httpclient.AsyncHTTPClient.configure("tornado.curl_httpclient.CurlAsyncHTTPClient")
  File "/usr/local/lib/python3.7/site-packages/tornado/httpclient.py", line 302, in configure
    super(AsyncHTTPClient, cls).configure(impl, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/tornado/util.py", line 354, in configure
    impl = import_object(impl)
  File "/usr/local/lib/python3.7/site-packages/tornado/util.py", line 181, in import_object
    obj = __import__('.'.join(parts[:-1]), None, None, [parts[-1]], 0)
  File "/usr/local/lib/python3.7/site-packages/tornado/curl_httpclient.py", line 23, in <module>
    import pycurl  # type: ignore
ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)

And installation from source also don't work because yarn cannot work due to problem with node-sass?

Hmm any solution bro?

ipinfo.io Rate limit exceeded

curl http://ipinfo.io
Rate limit exceeded. Subscribe to a paid plan to increase your usage limits at http://ipinfo.io/pricing, or contact us via http://ipinfo.io/contact

验证跪了,导致没有验证过的IP了

request /api/v1/proxies return status code 500

Describe the bug
Run the program for a while, return an error when requesting the api

To Reproduce
Steps to reproduce the behavior:
Run the program for a while( about 2 hours) and request api

Expected behavior
http response code 500 and console error with

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sanic/app.py", line 556, in handle_request
    response = await response
  File "/root/scylla/scylla/web/server.py", line 91, in api_v1_proxies
    count = proxy_query.count()  # count before sorting
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1479, in inner
    return method(self, database, *args, **kwargs)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1737, in count
    return Select([clone], [fn.COUNT(SQL('1'))]).scalar(database)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1479, in inner
    return method(self, database, *args, **kwargs)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1723, in scalar
    row = self.tuples().peek(database)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1479, in inner
    return method(self, database, *args, **kwargs)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1710, in peek
    rows = self.execute(database)[:n]
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1479, in inner
    return method(self, database, *args, **kwargs)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1550, in execute
    return self._execute(database)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 1704, in _execute
    cursor = database.execute(self)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 2533, in execute
    return self.execute_sql(sql, params, commit=commit)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 2527, in execute_sql
    self.commit()
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 2320, in __exit__
    reraise(new_type, new_type(*exc_args), traceback)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 174, in reraise
    raise value.with_traceback(tb)
  File "/root/.pyenv/versions/3.6.0/lib/python3.6/site-packages/peewee.py", line 2520, in execute_sql
    cursor.execute(sql, params or ())
peewee.OperationalError: database is locked

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • docker or centos 9

Smartphone (please complete the following information):
NO

Additional context
NO

Problem loading main UI.

(This if for running scylla from instructions for compiling)

UI of main page (http://localhost:8899/#/), is just showing white. Right before page loads, I can see something 'flash', so I knew that something was happening.

I opened up Chrome Developer tools, and it is showing 2 errors, which I assume is why it is not rendering?

TypeError: Cannot read property 'unix' of undefined
    at ProxyList.tsx:74
    at Array.map (<anonymous>)
    at a.renderList (ProxyList.tsx:67)
    at a.render (ProxyList.tsx:44)
    at zl (react-dom.production.min.js:167)
    at jl (react-dom.production.min.js:180)
    at wo (react-dom.production.min.js:202)
    at xo (react-dom.production.min.js:203)
    at ri (react-dom.production.min.js:212)
    at ei (react-dom.production.min.js:211)
ql @ react-dom.production.min.js:188
ProxyList.tsx:74 Uncaught (in promise) TypeError: Cannot read property 'unix' of undefined
    at ProxyList.tsx:74
    at Array.map (<anonymous>)
    at a.renderList (ProxyList.tsx:67)
    at a.render (ProxyList.tsx:44)
    at zl (react-dom.production.min.js:167)
    at jl (react-dom.production.min.js:180)
    at wo (react-dom.production.min.js:202)
    at xo (react-dom.production.min.js:203)
    at ri (react-dom.production.min.js:212)
    at ei (react-dom.production.min.js:211)

On another note, not too familiar with npm. While installing, ran into a problem of missing 'parcel'. Realized that was a npm package, so I installed globally, and install proceeded..

I thought maybe I was missing the node module for moment, ..and I tried installing that..didn't fix. I also looked at html source code, clicked on error of the line to find what it was trying to call that was 'missing'. I then double checked in node_modules under moment.js, and 'unix' is there.

Am I doing something wrong? (Didn't see anyone else post an issue [open or closed] about this)

Feature request: Forward proxy

Is your feature request related to a problem? Please describe.
A forward proxy would make this project much easier to use because it can hide the complexity behind the detail of this proxy pool.
This feature is proposed by @binux.

Describe the solution you'd like
Implement a very rough http proxy using Sanic at the very beginning. This proxy will assign proxy ips randomly for the clients.

Describe alternatives you've considered
None, at present.

Additional context
None.

peewee.ImproperlyConfigured: SQLite driver not installed!

Describe the bug
[root@localhost scylla]# python3 -m scylla 2018-07-15 - 14:05:41 DEBUG: create new db connection Traceback (most recent call last): File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/root/scylla/scylla/__main__.py", line 4, in <module> app_main() File "/root/scylla/scylla/cli.py", line 84, in app_main sys.exit(main(sys.argv[1:])) File "/root/scylla/scylla/cli.py", line 50, in main create_db_tables() File "/root/scylla/scylla/database.py", line 29, in create_db_tables db.create_tables([ProxyIP]) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2636, in crea te_tables model.create_table(**options) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 5376, in crea te_table cls._schema.create_all(safe, **options) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 4643, in crea te_all self.create_table(safe, **table_options) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 4539, in crea te_table self.database.execute(self._create_table(safe=safe, **options)) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2533, in exec ute return self.execute_sql(sql, params, commit=commit) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2518, in exec ute_sql cursor = self.cursor(commit) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2504, in curs or self.connect() File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2467, in conn ect self._state.set_connection(self._connect()) File "/usr/local/lib/python3.6/site-packages/peewee.py", line 2699, in _con nect raise ImproperlyConfigured('SQLite driver not installed!') peewee.ImproperlyConfigured: SQLite driver not installed!

请问这个搜索出来的proxy该如何使用?

Please provide the following information if applicable:

  • Operating system and its version:
    Windows 10 Pro/Mac OSX 10.11.3 (15D21)

  • Version number of Scylla:
    不清楚,使用的https://scylla-demo.wildcat.io/#/
    这个网址搜索

  • Version number of your Chromium (if related):
    Version 68.0.3439.0 (Official Build) canary (64-bit)

我问的这个问题,好像不是scylla的程序问题,而是搜索结果的问题。
我用的chrome插件 SwitchyOmega,使用的是搜索出来的第一个proxy地址,但是不能用。
Https也修改成SOCKS5,还是不能使用。
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.