-
Notifications
You must be signed in to change notification settings - Fork 76
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
Some Tumblr blogs are falsely reported as offline #206
Comments
What makes a tumblr blog become offline? |
A blog is marked offline in the app, when the API returns a http error on the request (e.g. for a list of posts). |
Okay, so when a previously online blog which has the Tumblrblog class becomes hidden I assume you want to change the class to TumblrHiddenBlog. However (if I'm wrong please correct), the process to change this classes would be to remove the blog and re-add it manually through the UI (unless there is another way to call the ManagerController methods). As this would then be a manual process on the user's part, would it be sufficient to display an error message as a guide? |
Never mind it seems all you need to do is change the blog type to tmblrpriv, is this correct? |
Of course, you can call the ManagerController methods or change a method if needed. |
I've got the status check to recognise and update the blog as hidden and through changing the type to hidden, it should automatically change the crawler type as well. I also found that making a blog unhidden on tumblr also needs to be updated through the status check. However there is a 30-60 second delay for the tumblrBlogDetector to recognize the post being switched to and from hidden and in this time the blog will be shown as offline (not sure how this can be fixed). |
As the hidden/SVC crawler also can download normal blogs, it maybe wouldn't be necessary to change it back, but how ever. |
I'm using the IsHiddenTumblrBlogAsync method in the TumblrBlogDetector class to recognize the selected blog as hidden. The 30-60 secs delay is how long it takes - I believe - tumblr to update the URL of the blog with the parameters of a hidden blog. I will make it so the unhidden blog stays hidden in the manager list. |
Oh, got it, sounds good. I think this delay is only a problem during your tests, because you are waiting for it, isn't it? The normal user comes back after a longer period of time and wants to download the blog again. Otherwise a different approach would be necessary. |
Yeah its doesn't seem like it would be a problem as long as the user doesn't check the status within a minute of the blog being switched to hidden. If this is fine with you I can submit a PR. |
Yes, this should be ok. You can create a PR. |
Describe the bug
When a blog changes its state to hidden (dashboard blog), Tumblthree shows this blog as offline, even it can still be viewed in the web browser.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
At least when doing a manual "check online status", it should be recognized that the blog is still available, but now needs to be accessed as hidden blog through the dashboard.
Tumblthree should make a double check, if necessary, and automatically change the blog type to hidden blog, if possible.
Screenshots
Desktop (please complete the following information):
Additional context
At the moment a workaround is to go to the blog settings and change the crawler type to "SVC" for blogs that changed their state to hidden.
The text was updated successfully, but these errors were encountered: