[<twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.>] 2021-02-08 13:55:03 [scrapy.core.engine] INFO: Closing spider (finished) code example
Example: twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion.> scrapy
#if working with scrapy, and this 'twisted' issue occurs, try replacing
#"http:" with "https:"
url = url.replace("http:", "https:")