You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hydrus version: 440 executable
Platform: Windows 10
What happens
Not sure if this is the right place to ask, but I'm having an issue with a downloader. I tried editing the Instagram downloader to parse post captions as tags: caption instead of tags: title, but I was unable to download pictures after that. I tried re-importing the downloader, and using a clean copy of Hydrus on a different directory, but keep encountering the same issue.
Error message / Log file / Screenshots
Page Parser instagram user gallery api parser: Content Parser first page next gallery page url: Unable to parse that JSON: Expecting value: line 1 column 1 (char 0). JSON sample:
EDIT: Damn, I just realised this is super old! Sorry, I am catching up with my bug reports. I regret the delay.
Thank you for this report. It looks by that error that the parser was expecting some JSON (i.e. there was a JSON formula), but it received some HTML instead. I am not familiar with the instagram parser and cannot talk cleverly about it, but if you were altering things, was there any chance that when you added a Content Parser that somehow it reset its formula to JSON? Or could this html be a login page or similar, where it is redirecting back to a normal web page instead of an API endpoint?
I think it is probably worth editing that parser again and doing some tests with the URL here to try to figure out whether it should be pulling HTML or what. help->debug->report modes->network report mode can help here, if you want to be certain about which URLs the downloader is actually pulling.
In any case, I will improve the error text here to try to notice if it actually got html and say that instead.
Environment
Hydrus version: 440 executable
Platform: Windows 10
What happens
Not sure if this is the right place to ask, but I'm having an issue with a downloader. I tried editing the Instagram downloader to parse post captions as tags: caption instead of tags: title, but I was unable to download pictures after that. I tried re-importing the downloader, and using a clean copy of Hydrus on a different directory, but keep encountering the same issue.
Error message / Log file / Screenshots
Page Parser instagram user gallery api parser: Content Parser first page next gallery page url: Unable to parse that JSON: Expecting value: line 1 column 1 (char 0). JSON sample:
Login • Instagram
</title>Traceback (most recent call last):
File "hydrus\client\ClientParsing.py", line 2097, in Parse
parsed_texts = list( self._formula.Parse( parsing_context, parsing_text ) )
File "hydrus\client\ClientParsing.py", line 622, in Parse
raw_texts = self._ParseRawTexts( parsing_context, parsing_text )
File "hydrus\client\ClientParsing.py", line 731, in _ParseRawTexts
stream = formula.Parse( parsing_context, parsing_text )
File "hydrus\client\ClientParsing.py", line 622, in Parse
raw_texts = self._ParseRawTexts( parsing_context, parsing_text )
File "hydrus\client\ClientParsing.py", line 1711, in _ParseRawTexts
raise HydrusExceptions.ParseException( message )
hydrus.core.HydrusExceptions.ParseException: Unable to parse that JSON: Expecting value: line 1 column 1 (char 0). JSON sample:
Login • Instagram
</title>Login • Instagram
</title>Login • Instagram
</title>The text was updated successfully, but these errors were encountered: