Closed roperi closed 8 years ago
this and #55 caused because this program don't have the parser for that domain. and also there is possibilty that redd.it domain require cookies or other data to be sent before downloading the image.
Thanks, @rachmadaniHaryono
Could it be related to Parse redd.it ?
Yes. Other than getting request like @maxpowa,other option is to use selenium with phantomjs ,so the browser can handle the request
@rachmadaniHaryono
I followed the maxpowa lead and installed the following request dependencies (from Python 2.7.9) to see if it had to do:
pip install urllib3
pip install pyopenssl
pip install ndg-httpsclient
pip install pyasn1
Unfortunately didn't resolve the issue.
hi i have made pull request for this issue and the #55 . it need requests library
tell me if there is any error. :)
@rachmadaniHaryono
It works! I didn't find any error! Thanks so much!
i'm glad it is worked. maybe you can close #55, so @HoverHell can just accept the related pull request and close one issue.
i see in my home timeline this comments from yours
Perhaps I need to clone/install your fork and then try to update your pull request fix? But if so, it looks your fork is for python 3. I am using p…
Now I see it is only one file, right? (redditupload.py). Because if that's the case I should need to copy+paste the entire content of it and import…
if you use python27, you can install from my branch with pip
[sudo] pip install https://github.com/rachmadaniHaryono/RedditImageGrab/archive/master.zip
if you use python3 i will try to merge it with @jtara1 fork.
@rachmadaniHaryono Again, Many thanks!
I'm getting quite a lot of these:
I tried pausing 10 seconds (time.sleep(10)) between tries but still I get the 403. Any thoughts?