Skip to content

Commit

Permalink
fix import python
Browse files Browse the repository at this point in the history
  • Loading branch information
ClericPy committed Aug 6, 2020
1 parent 094ef77 commit ada1795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions newspaper/crawler/spiders.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,7 @@ async def importpython() -> list:
limit = 1
seed = 'https://importpython.com/newsletter/archive/'
r = await req.get(seed,
retry=1,
timeout=20,
timeout=15,
ssl=False,
headers={"User-Agent": CHROME_PC_UA})
if not r:
Expand Down

0 comments on commit ada1795

Please sign in to comment.