omit review metadata

pull/46/head
eric 2017-11-06 12:38:06 -05:00
parent 980e28eb54
commit 6487916adb
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class BaseScraper(object):
if response.status_code == 200:
self.base = response.url
self.doc = BeautifulSoup(response.content, 'lxml')
for review in self.doc.find_all(itemtype="http://schema.org/Review"):
review.clear()
self.setup()
self.get_genre()
self.get_title()