Skip to content
This repository was archived by the owner on Jan 28, 2024. It is now read-only.

alex-ber/scrapy-item

Repository files navigation

scrapy-item

Item with general/unknown/dynamic fields. Variation of https://github.com/WilliamKinaan/ScrapyDynamicItems - extracting only essential part. See [https://medium.com/@alex_ber/scrapy-item-with-general-fields-7552bd6e4622] for description. See CHANGELOG.md for detail description.

Getting Help

QuickStart

python3 -m pip install -U scrapy-item

Installing from Github

python3 -m pip install -U https://github.com/alex-ber/scrapy-item/archive/master.zip

Optionally installing tests requirements.

python3 -m pip install -U https://github.com/alex-ber/scrapy-item/archive/master.zip#egg=alex-ber-utils[tests]

Or explicitly:

wget https://github.com/alex-ber/scrapy-item/archive/master.zip -O master.zip; unzip master.zip; rm master.zip

And then installing from source (see below).

Installing from source

python3 -m pip install -r req.txt # only installs "required" (relaxed)
python3 -m pip install . # only installs "required"
python3 -m pip install .[tests] # installs dependencies for tests

Alternatively you install install from requirements file:

python3 -m pip install -r requirements.txt # only installs "required"
python3 -m pip install -r requirements-tests.txt # installs dependencies for tests

From the directory with setup.py

python3 setup.py test #run all tests

or

pytest

Installing new version

See https://docs.python.org/3.1/distutils/uploading.html

python3 setup.py sdist upload

Requirements

scrapy-item requires the following modules.

  • Python 3.6+

About

Item with general/unknown/dynamic fields

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages