findix / ArtStationDownloader

ArtStation Downloader is a lightweight tool to help you download images and videos from https://www.artstation.com/
MIT License
245 stars 29 forks source link

i got this error what i do? #24

Closed Alethy closed 2 years ago

Alethy commented 2 years ago

[Error] [403 Forbidden] You are blocked by artstation

pxlovenn commented 2 years ago

Yes, I have this problem, too。

“[Error] [403 Forbidden] You are blocked by artstation ========ALL DONE========”

wish could fix this problem。

findix commented 2 years ago

https://github.com/findix/ArtStationDownloader#faq

FAQ

Why I get a message says [Error] [403 Forbidden] You are blocked by artstation?

The ArtStation has a CAPTCHA system (by Cloudflare) which need you proof you are human otherwise forbid you. I haven't found a way solve this for now. If you have idea, please tell me.

Gitphex commented 2 years ago

[Error] [403 Forbidden] You are blocked by artstation

Yes, i used the program without problems until today, i hope you can fix it findix, but still thanks a lot for doing this app.

Greetings.

samarthshrivas commented 2 years ago

https://github.com/findix/ArtStationDownloader#faq

FAQ

Why I get a message says [Error] [403 Forbidden] You are blocked by artstation?

The ArtStation has a CAPTCHA system (by Cloudflare) which need you proof you are human otherwise forbid you. I haven't found a way solve this for now. If you have idea, please tell me.

NOT A PERMANENT SOLUTION😢 https://pypi.org/project/cloudscraper/

Use cloudscraper to bypass Cloudflare


import cloudscraper
import time
def rget(url):
    for i in range(20):
        scraper = cloudscraper.create_scraper()
        g = scraper.get(url)
        if g.status_code == 200 :
            return g
            break
        else:
            print(f"trying again {g}", end = "\r")

            time.sleep(2)
    print("stucked on cloudflare protection tried 20 times")
r = https://www.artstation.com/users/nixri/projects.json
print(r.json())

Try this it worked for me.

findix commented 2 years ago

Oh thank you @samarthshrivas ! I will try then!

samarthshrivas commented 2 years ago

Oh thank you @samarthshrivas ! I will try then!

Got a permanent solution check my repo 😎 reused a lot of code from your core.py https://github.com/samarthshrivas/ArtStationDownloader/

use this https://{username}.artstation.com/rss return xml file of projects

findix commented 2 years ago

I tried your solution and it seems solved. awesome !

findix commented 2 years ago

@Alethy @pxlovenn @Gitphex It's fixed. try https://github.com/findix/ArtStationDownloader/releases/tag/v0.2.1

Alethy commented 2 years ago

It worked!! thank you so much <3

pxlovenn commented 2 years ago

Sorry ~ I'm stupid and still haven't solved it... I added my proxy address to the “config.ini” file I don't know if it's my proxy setting problem~ 1 2 PS:In fact, I've tried every one, but it's useless.

There are no results after clicking ↓ image

findix commented 2 years ago

@pxlovenn

我看你界面是中文,并且这个问题应该只会在国内遇到,所以就用中文回复了。

你确认配置正确吗?不需要设置系统代理,但是需要确认端口正确,看你用的好像是SSR?默认端口可能是1080,麻烦你可以确认一下,另外也需要确认软件支持的代理类型,是否支持http代理。

pxlovenn commented 2 years ago

今天用 神奇的可以了!!谢谢大神~ 你这个软件 我非常喜欢~ 33ZP(L0_BU5T9%IEMWO_`OE

malochen commented 1 year ago

太棒了,感谢大佬的软件!爱你

lzyamos99032 commented 4 months ago

Hey, love your app so much, but today I tried using this app again "[Error] [403 Forbidden] You are blocked by artstation" popped out again, IDK if artstation change something or what, and I've tried the solution https://github.com/findix/ArtStationDownloader/issues/24?new_signup=true?new_signup=true#issuecomment-1124734529 Unlucky, not working. Hope we can have a new updated version, thanks!!

App version: 0.3.3 Last used date: 30-Mar-24