mirror of
https://github.com/simon987/mobilism_scrape.git
synced 2025-04-10 14:26:44 +00:00
err
This commit is contained in:
parent
01ee2d9ce7
commit
64737abe7b
4
run
4
run
@ -8,6 +8,7 @@ import re
|
||||
import subprocess
|
||||
from base64 import b64decode
|
||||
from hashlib import sha1
|
||||
from sys import stderr
|
||||
from urllib.parse import urlparse, unquote
|
||||
|
||||
import requests
|
||||
@ -90,7 +91,8 @@ def do_premium_download(link, i):
|
||||
download_link = soup2.find("a", attrs={"download": lambda x: x}).get("download")
|
||||
_download(download_link, i)
|
||||
except:
|
||||
print(r2.content)
|
||||
print(r2.content, file=stderr)
|
||||
pass
|
||||
|
||||
|
||||
def get_topic_id(topic_url):
|
||||
|
Loading…
x
Reference in New Issue
Block a user