- Crankit
- Feb 7, 2011
-
HE WATCHES
|
can someone figure out how to archive the SAclopedia?
|
#
¿
Jun 25, 2020 10:15
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
Apr 28, 2024 00:33
|
|
- Crankit
- Feb 7, 2011
-
HE WATCHES
|
i had that too, I typed: pip3 install requests
on the commandline and it installed the required library
|
#
¿
Jun 25, 2020 13:57
|
|
- Crankit
- Feb 7, 2011
-
HE WATCHES
|
Thanks. I updated my post with my next error. If others would prefer I take this to a PM that's fine.
Did you put your username and password in the config file?
|
#
¿
Jun 25, 2020 14:38
|
|
- Crankit
- Feb 7, 2011
-
HE WATCHES
|
The python thing is pretty good, but it seems to choke on images that are attached to the forum.
|
#
¿
Jun 29, 2020 10:13
|
|
- Crankit
- Feb 7, 2011
-
HE WATCHES
|
Hm, it shouldn't. I'll poke at it and see what's going on.
if it helps this is the error i get:
code:Traceback (most recent call last):
File "C:\Users\Dan\Desktop\SAScraper\main.py", line 146, in <module>
main(args)
File "C:\Users\Dan\Desktop\SAScraper\main.py", line 121, in main
img = s.get(src, stream=True)
File "C:\Users\Dan\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "C:\Users\Dan\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 516, in reques
t
prep = self.prepare_request(req)
File "C:\Users\Dan\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 449, in prepar
e_request
p.prepare(
File "C:\Users\Dan\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\models.py", line 314, in prepare
self.prepare_url(url, params)
File "C:\Users\Dan\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\models.py", line 391, in prepare_
url
raise InvalidURL("Invalid URL %r: No host supplied" % url)
requests.exceptions.InvalidURL: Invalid URL 'https:attachment.php?postid=395991827': No host supplied
|
#
¿
Jul 8, 2020 20:47
|
|