summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Lorey <git@karllorey.com>2023-04-29 13:30:05 +0200
committerGitHub <noreply@github.com>2023-04-29 13:30:05 +0200
commitddc9882f8814919dddacdd27332ffe0d993c4f7e (patch)
tree2f66c870311808a98d7d81a823866269d35cc3e4
parent90551c0b5ec9099e217e62e0b732120db102c029 (diff)
Update README with note on using several samplesHEADmaster
-rw-r--r--README.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 22db504..60151db 100644
--- a/README.rst
+++ b/README.rst
@@ -50,7 +50,7 @@ After you've defined the data you want to scrape, mlscraper will:
Getting started
---------------
-mlscraper is currently short before version 1.0.
+mlscraper is currently shortly before version 1.0.
If you want to check the new release, use :code:`pip install --pre mlscraper` to test the release candidate.
You can also install the latest (unstable) development version of mlscraper
via :code:`pip install git+https://github.com/lorey/mlscraper#egg=mlscraper`,
@@ -74,6 +74,7 @@ To get started with a simple scraped, check out a basic sample below.
assert resp.status_code == 200
# create a sample for Albert Einstein
+ # please add at least two samples in practice to get meaningful rules!
training_set = TrainingSet()
page = Page(resp.content)
sample = Sample(page, {'name': 'Albert Einstein', 'born': 'March 14, 1879'})