|
|
@ -216,13 +216,14 @@ class SubdivxSubtitlesProvider(Provider):
|
|
|
|
if not any(item in datos for item in ("Cds:</b> 1", "SubRip")):
|
|
|
|
if not any(item in datos for item in ("Cds:</b> 1", "SubRip")):
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
spain = "/pais/7.gif" in datos
|
|
|
|
|
|
|
|
language = Language.fromalpha2("es") if spain else Language("spa", "MX")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# description
|
|
|
|
# description
|
|
|
|
sub_details = body_soup.find("div", {"id": "buscador_detalle_sub"}).text
|
|
|
|
sub_details = body_soup.find("div", {"id": "buscador_detalle_sub"}).text
|
|
|
|
description = sub_details.replace(",", " ")
|
|
|
|
description = sub_details.replace(",", " ")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# language
|
|
|
|
|
|
|
|
spain = "/pais/7.gif" in datos or "españa" in description.lower()
|
|
|
|
|
|
|
|
language = Language.fromalpha2("es") if spain else Language("spa", "MX")
|
|
|
|
|
|
|
|
|
|
|
|
# uploader
|
|
|
|
# uploader
|
|
|
|
uploader = body_soup.find("a", {"class": "link1"}).text
|
|
|
|
uploader = body_soup.find("a", {"class": "link1"}).text
|
|
|
|
download_url = _get_download_url(body_soup)
|
|
|
|
download_url = _get_download_url(body_soup)
|
|
|
|