mirror of
https://github.com/simon987/mobilism_scrape.git
synced 2025-04-19 18:46:46 +00:00
err
This commit is contained in:
parent
64737abe7b
commit
3f05049032
4
run
4
run
@ -79,6 +79,10 @@ def do_premium_download(link, i):
|
|||||||
soup = BeautifulSoup(r.content, "html.parser")
|
soup = BeautifulSoup(r.content, "html.parser")
|
||||||
form = soup.find("form")
|
form = soup.find("form")
|
||||||
|
|
||||||
|
if not form:
|
||||||
|
print(r.content, file=stderr)
|
||||||
|
return
|
||||||
|
|
||||||
r2 = session.post("https://mblservices.org/amember/downloader/downloader/app/index.php", {
|
r2 = session.post("https://mblservices.org/amember/downloader/downloader/app/index.php", {
|
||||||
"link": form.find("input", attrs={"name": "link"}).get("value"),
|
"link": form.find("input", attrs={"name": "link"}).get("value"),
|
||||||
"referer": form.find("input", attrs={"name": "referer"}).get("value"),
|
"referer": form.find("input", attrs={"name": "referer"}).get("value"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user