Code formating
This commit is contained in:
1 parent
116bc839fc
commit
7d4f9d60b1
1 file changed
+2
-2
@@ -29,11 +29,11 @@ class Bluray(Automation, RSS):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Stop if the release year is before the minimal year
|
# Stop if the release year is before the minimal year
|
||||||
page_year = soup.body.find_all('center')[3].table.tr.find_all('td', recursive=False)[3].h3.get_text().split(', ')[1]
|
page_year = soup.body.find_all('center')[3].table.tr.find_all('td', recursive = False)[3].h3.get_text().split(', ')[1]
|
||||||
if tryInt(page_year) < self.getMinimal('year'):
|
if tryInt(page_year) < self.getMinimal('year'):
|
||||||
break
|
break
|
||||||
|
|
||||||
for table in soup.body.find_all('center')[3].table.tr.find_all('td', recursive=False)[3].find_all('table')[1:20]:
|
for table in soup.body.find_all('center')[3].table.tr.find_all('td', recursive = False)[3].find_all('table')[1:20]:
|
||||||
name = table.h3.get_text().lower().split('blu-ray')[0].strip()
|
name = table.h3.get_text().lower().split('blu-ray')[0].strip()
|
||||||
year = table.small.get_text().split('|')[1].strip()
|
year = table.small.get_text().split('|')[1].strip()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user