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