mirror of https://github.com/scrapy/scrapy.git
Address feedback.
This commit is contained in:
parent
d4a404308d
commit
49c3ca7bdd
|
|
@ -137,8 +137,8 @@ class _DummyLock:
|
|||
|
||||
class WrappedRequest:
|
||||
"""Wraps a :class:`scrapy.Request` class with methods defined by
|
||||
:class:`urllib.request.Request` class to interact with
|
||||
:class:`http.cookiejar.CookieJar` class.
|
||||
the :class:`urllib.request.Request` class to interact with
|
||||
the :class:`http.cookiejar.CookieJar` class.
|
||||
"""
|
||||
|
||||
def __init__(self, request: Request):
|
||||
|
|
|
|||
|
|
@ -423,7 +423,7 @@ class FTPFilesStore:
|
|||
|
||||
|
||||
class FilesPipeline(MediaPipeline):
|
||||
"""Pipeline that implements the file downloading.
|
||||
"""Pipeline that implements file downloading.
|
||||
|
||||
This pipeline tries to minimize network transfers and file processing,
|
||||
doing stat of the files and determining if file is new, up-to-date or
|
||||
|
|
|
|||
|
|
@ -172,7 +172,8 @@ async def _send_catch_log_asyncio(
|
|||
|
||||
Returns a coroutine that completes once all signal handlers have finished.
|
||||
|
||||
This function an installed asyncio reactor or a running asyncio event loop.
|
||||
This function requires an installed asyncio reactor or a running asyncio
|
||||
event loop.
|
||||
|
||||
.. versionadded:: 2.14
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -117,8 +117,8 @@ def strip_url(
|
|||
- ``strip_credentials`` removes "user:password@"
|
||||
- ``strip_default_port`` removes ":80" (resp. ":443", ":21")
|
||||
from http:// (resp. https://, ftp://) URLs
|
||||
- ``origin_only`` replaces path component with "/", also dropping
|
||||
query component; it also strips credentials
|
||||
- ``origin_only`` replaces the path component with "/", also dropping
|
||||
the query component; it also strips credentials
|
||||
- ``strip_fragment`` drops any #fragment component
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue