Fix align (i hope)
This commit is contained in:
parent
df335cf48e
commit
bc2f4700ba
@ -6,6 +6,7 @@ from enum import Enum
|
|||||||
from functools import wraps
|
from functools import wraps
|
||||||
from subprocess import run
|
from subprocess import run
|
||||||
from sys import platform
|
from sys import platform
|
||||||
|
from urllib.parse import quote
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
@ -332,7 +333,7 @@ class Pantsu(Connector):
|
|||||||
'seeds': check_seeds,
|
'seeds': check_seeds,
|
||||||
'leechs': tds[5].string,
|
'leechs': tds[5].string,
|
||||||
'downloads': check_downloads,
|
'downloads': check_downloads,
|
||||||
'class': self.color if AnimeLink.query.filter_by(link=href).first() else 'is-%s' %
|
'class': self.color if AnimeLink.query.filter_by(link=quote(href)).first() else 'is-%s' %
|
||||||
tr['class'][0]
|
tr['class'][0]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user