This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread Thread-9: | |
Traceback (most recent call last): | |
File "site-packages/urllib3/connectionpool.py", line 677, in urlopen | |
File "site-packages/urllib3/connectionpool.py", line 426, in _make_request | |
File "<string>", line 3, in raise_from | |
File "site-packages/urllib3/connectionpool.py", line 421, in _make_request | |
File "http/client.py", line 1344, in getresponse | |
File "http/client.py", line 306, in begin | |
File "http/client.py", line 267, in _read_status | |
File "socket.py", line 589, in readinto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TjalSpider(scrapy.Spider): | |
name = 'tjal' | |
allowed_domains = ['www2.tjal.jus.br'] | |
start_urls = ['https://www2.tjal.jus.br/cpopg/open.do'] | |
def start_requests(self): | |
yield scrapy.FormRequest( | |
method='GET', | |
url='https://www2.tjal.jus.br/cpopg/open.do', | |
formdata={ |