No recent searches
Popular Articles
Sorry! nothing found for
Posted 12 months ago by Kristiqn Tashev
Hello everyone, I'm trying to deploy custom spider with this dockerfile:
FROM python:3.11.4-slim-bullseyeWORKDIR /appCOPY . /appRUN apt-get update \ && pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r requirements.txt \ && playwright install --with-deps chromium \ && mv /root/.cache/ms-playwright /ms-playwright \ && mv /ms-playwright/chromium-* /ms-playwright/chromium \ # && mv /ms-playwright/firefox-* /ms-playwright/firefox \ # && mv /ms-playwright/webkit-* /ms-playwright/webkit \ && chmod -Rf 777 /ms-playwrightRUN python setup.py install
keep in mind i manually generate setup.py
from setuptools import setup, find_packagessetup( name="project", version="1.0", packages=find_packages(), entry_points={"scrapy": ["settings = zora_spider.settings"]},)
and my scrapinghub.yml is:
image: trueproject: {my id here}
got success message:{'status': 'ok', 'project': {my id}, 'version':{my version}, 'spiders': 0}what I did wrong?
0 Votes
1 Comments
Kristiqn Tashev posted 12 months ago
I fix it issue was the name of the spider.
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
Hello everyone, I'm trying to deploy custom spider with this dockerfile:
keep in mind i manually generate setup.py
and my scrapinghub.yml is:
got success message:
{'status': 'ok', 'project': {my id}, 'version':{my version}, 'spiders': 0}
what I did wrong?
0 Votes
1 Comments
Kristiqn Tashev posted 12 months ago
I fix it issue was the name of the spider.
0 Votes
Login to post a comment