You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,22 +18,20 @@ Each one of these entities can be discovered and refreshed separately by invokin
18
18
## Installation
19
19
20
20
This is a [scrapy](https://scrapy.org/) project, so it needs to be run with the
21
-
`scrapy` command line util. A conda `environment.yml` file is provided with a definition
22
-
for the necessary environment to run the scraper.
21
+
`scrapy` command line util. This and all other required dependencies can be installed using [poetry](https://python-poetry.org/docs/).
23
22
24
23
```console
25
-
# create and activate conda environment
26
-
conda env create -f environment.yml
27
-
conda activate transfermarkt-scraper
24
+
cd transfermarkt-datasets
25
+
poetry install
26
+
poetry shell
28
27
```
29
-
> :information_source: On Apple silicon chips fallback to rosetta to avoid well-known [pyopenssl issues](https://github.com/pyca/pyopenssl/issues/873) by creating your conda environment as `CONDA_SUBDIR=osx-64 conda env create -f environment.yml`
28
+
29
+
## Usage
30
30
31
31
> :warning: This project will not run without a user agent string being set. This can be done one of two ways:
32
32
> - add `ROBOTSTXT_USER_AGENT = <your user agent>` to your tfmkt/settings.py file, or
33
33
> - specify the user agent token in the command line request (for example, `scrapy crawl players -s USER_AGENT=<your user agent> `)
34
34
35
-
## Usage
36
-
37
35
These are some usage examples for how the scraper may be run.
0 commit comments