Rifky commited on
Commit
d01d94a
1 Parent(s): c95dd80

Update Scraper.py

Browse files
Files changed (1) hide show
  1. Scraper.py +1 -1
Scraper.py CHANGED
@@ -16,7 +16,7 @@ def Scrap(url):
16
  article.download()
17
  article.parse()
18
 
19
- if not article.text:
20
  print("Can't Scrap this article link")
21
  return None
22
 
16
  article.download()
17
  article.parse()
18
 
19
+ if not article.text or not article.title:
20
  print("Can't Scrap this article link")
21
  return None
22