Coder Social home page Coder Social logo

files's People

Contributors

my8100 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

files's Issues

items 不支持 中文

我看到 items 是直接访问 scrapyd ,所以这个问题其实也是scrapyd的items 中文支持问题。请问有什么办法使items页面能够支持文中吗

Unsupported Media Type

When I started scrapydweb, I encountered an error:
Unsupported Media Type
Did not attempt to load JSON data because the request Content-Type was not 'application/json'.

None of your SCRAPYD_SERVERS could be connected.

I am working on a scrapy project which requires some additional libs other than scrapy and python like Sqlalchemy, psycopg2 ect. Right now everything is working good and now I'd like to deploy the spider to Heroku and for monitoring, scheduling stuff I am trying to use Scrapyd server and ScrapydWeb for web interface. I deployed the scrapyd server on Heroku but for web interface it is showing application error and when I saw the logs error was:
Screenshot at 2022-04-18 23-17-13
when I tried locally scrapydweb response with 400 bad request. How to fix it?
scrapydweb_settings_v10.py
Screenshot at 2022-04-18 23-23-22

可以单机部署么?

[2019-04-04 10:22:07,042] DEBUG in scrapydweb.utils.check_app_config: Checking connectivity of SCRAPYD_SERVERS
[2019-04-04 10:22:09,170] ERROR in main: Check app config fail:

Index Group Scrapyd IP:Port Connectivity Auth
None of your SCRAPYD_SERVERS could be connected.
####################################################################################################
Check and update your settings in D:/working/scrapydweb/scrapydweb/scrapydweb_settings_v8.py
1____ None________________ 127.0.0.1:6801________ False______ None

2____ group_______________ localhost:6801________ False______ ('admin', 'zbc12300')
####################################################################################################

Cannot set scrapyd auth username and password?

I set the basic auth on scrapyd, but when I edit scrapydweb settings file with below:
SCRAPYD_SERVERS = [ ('admin','adminabc','127.0.0.1','6800','group1') ]
but occur exception: ip, port, group = re.search(r'^(.?)(?::(.?))?(?:@(.*?))?$', s.strip()).groups()
AttributeError: 'tuple' object has no attribute 'strip'

Can you help me with this, thanks!

400 bad request

Hello!
Ubuntu 18.04
Created venv with python3.7

pip install scrapydweb
scrapydweb

Changed the config - added scrapyd server, set auth, binding default to 0.0.0.0, port 5000
Run srapudweb again - ok, running.
Add firewall rule to allow 5000 port tcp

When I open server_ip:5000 and enter auth info I come to 400 bad request error.
Details of the error is 'Did not attempt to load JSON data because the request Content-Type was not 'application/json'

How to troubleshoot this?

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.