Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in the README file #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix some typos in the README file
  • Loading branch information
jesuslosada committed Oct 12, 2018
commit c0e213615d8e74ae492eb71ad1bbc633bcada66d
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Configuration

HTTPCACHE_STORAGE = 'scrapy_splash.SplashAwareFSCacheStorage'

If you use other cache storage then it is necesary to subclass it and
If you use other cache storage then it is necessary to subclass it and
replace all ``scrapy.util.request.request_fingerprint`` calls with
``scrapy_splash.splash_request_fingerprint``.

Expand All @@ -102,7 +102,7 @@ Put them into your ``settings.py`` if you want to change the defaults:
* ``SPLASH_COOKIES_DEBUG`` is ``False`` by default.
Set to ``True`` to enable debugging cookies in the ``SplashCookiesMiddleware``.
This option is similar to ``COOKIES_DEBUG``
for the built-in scarpy cookies middleware: it logs sent and received cookies
for the built-in Scrapy cookies middleware: it logs sent and received cookies
for all requests.
* ``SPLASH_LOG_400`` is ``True`` by default - it instructs to log all 400 errors
from Splash. They are important because they show errors occurred
Expand Down Expand Up @@ -348,7 +348,7 @@ In order to support sessions the following is required:
2. Splash script should make requests using these cookies and update
them from HTTP response headers or JavaScript code;
3. updated cookies should be sent back to the client;
4. client should merge current cookies wiht the updated cookies.
4. client should merge current cookies with the updated cookies.

For (2) and (3) Splash provides ``splash:get_cookies()`` and
``splash:init_cookies()`` methods which can be used in Splash Lua scripts.
Expand Down Expand Up @@ -669,7 +669,7 @@ aware of:
send proper ``save_args`` and ``load_args`` values and handle HTTP 498
responses.

scrapy-splash utlities allow to handle such edge cases and reduce
scrapy-splash utilities allow to handle such edge cases and reduce
the boilerplate.

.. _HTTP API: http:https://splash.readthedocs.org/en/latest/api.html
Expand Down