Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Toyhou.se] Some gallery pages simply return 'No Results for [URL]' #5820

Closed
SilverlinedEagletip opened this issue Jul 3, 2024 · 9 comments

Comments

@SilverlinedEagletip
Copy link

For some reason it just won't return results for specific toyhouse profiles.

[toyhouse][info] No results for https://toyhou.se/Kom/art

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

Does anyone know why it might be returning this (there is art on the page)

Is there anything I can do to fix it?

@mikf
Copy link
Owner

mikf commented Jul 3, 2024

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

But there is a content warning, which needs to be accepted to view posts:

User Content Warning
This user profile has been marked with a content warning:

There needs to be some code written to accept these automatically, but for now you should be able to circumvent them by using exported browser cookies.

@SilverlinedEagletip
Copy link
Author

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

But there is a content warning, which needs to be accepted to view posts:

User Content Warning
This user profile has been marked with a content warning:

There needs to be some code written to accept these automatically, but for now you should be able to circumvent them by using exported browser cookies.

okay, so how do I input this with toyhouse specifically? my current config doesnt have it as an option. Do I need to format it a certain way?

@mikf
Copy link
Owner

mikf commented Jul 3, 2024

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

But there is a content warning, which needs to be accepted to view posts:

User Content Warning
This user profile has been marked with a content warning:

There needs to be some code written to accept these automatically, but for now you should be able to circumvent them by using exported browser cookies.

okay, so how do I input this with toyhouse specifically? my current config doesnt have it as an option. Do I need to format it a certain way?

By using one of these cookie settings for toyhouse:

{
    "extractor": {
        "toyhouse": {
            "cookies": ["firefox"]
        }
    }
}

@SilverlinedEagletip
Copy link
Author

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

But there is a content warning, which needs to be accepted to view posts:

User Content Warning
This user profile has been marked with a content warning:

There needs to be some code written to accept these automatically, but for now you should be able to circumvent them by using exported browser cookies.

okay, so how do I input this with toyhouse specifically? my current config doesnt have it as an option. Do I need to format it a certain way?

By using one of these cookie settings for toyhouse:

{
    "extractor": {
        "toyhouse": {
            "cookies": ["firefox"]
        }
    }
}

It seems as if the format is different from the one in my config, if I were to paste how my config is formatted here (a snippet for example) could you help me? I'm still new to all of this.

@SilverlinedEagletip
Copy link
Author

I've checked it on an incognito browser, it isn't a hidden page visible only to users.

But there is a content warning, which needs to be accepted to view posts:

User Content Warning
This user profile has been marked with a content warning:

There needs to be some code written to accept these automatically, but for now you should be able to circumvent them by using exported browser cookies.

okay, so how do I input this with toyhouse specifically? my current config doesnt have it as an option. Do I need to format it a certain way?

By using one of these cookie settings for toyhouse:

{
    "extractor": {
        "toyhouse": {
            "cookies": ["firefox"]
        }
    }
}

I've gotten this error [config][error] JSONDecodeError when loading 'C:\Users\Blue\AppData\Roaming\gallery-dl\config.json': Extra data: line 441 column 1 (char 9993)
[toyhouse][info] No results for https://toyhou.se/Kom/art

@Hrxn
Copy link
Contributor

Hrxn commented Jul 4, 2024

I've gotten this error [config][error] JSONDecodeError when loading 'C:\Users\Blue\AppData\Roaming\gallery-dl\config.json': Extra data: line 441 column 1 (char 9993)

This means your config could not be parsed, and therefore it is not loaded at all.

@SilverlinedEagletip
Copy link
Author

I've gotten this error [config][error] JSONDecodeError when loading 'C:\Users\Blue\AppData\Roaming\gallery-dl\config.json': Extra data: line 441 column 1 (char 9993)

This means your config could not be parsed, and therefore it is not loaded at all.

Yes, but why? I put the code in. What's making it not work?

@mikf
Copy link
Owner

mikf commented Jul 8, 2024

Use a JSON validator tool, or command-line arguments (--cookies-from-broewser, --cookies) if you can't do JSON.

@SilverlinedEagletip
Copy link
Author

Use a JSON validator tool, or command-line arguments (--cookies-from-broewser, --cookies) if you can't do JSON.

I'm not sure what it's telling me honestly? I'm very very unskilled in json/configs etc and --cookies-from-broewser, --cookies) if you can't do JSON. stopped working :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants