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

tumblr redirects tagged to search urls, which are not supported. #565

Open
mjharwood opened this issue Aug 30, 2024 · 8 comments
Open

tumblr redirects tagged to search urls, which are not supported. #565

mjharwood opened this issue Aug 30, 2024 · 8 comments

Comments

@mjharwood
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. tumblr is redirecting some tag urls to search urls, it seems more frequent with non-ASCII tags, but not consistent, they may be A/B testing.
  2. make any tag search
  3. if it doesn't redirect, replace "tagged" in the url with "search" to get the url
  4. app will fail to download
  5. logs contain:
    TumblrSearchCrawler.CrawlPageAsync: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'searchApiResponse'
    at CallSite.Target(Closure , CallSite , Object )
    at TumblThree.Applications.Crawler.TumblrSearchCrawler.d__13.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrSearchCrawler.cs:line 127
    because it's a different API

Desktop (please complete the following information):

  • TumblThree version: v2.14.2
  • OS: Windows 11
  • Browser: Firefox
  • Version 129
@thomas694
Copy link
Contributor

I'm not sure what you expect.
Some tags cannot be searched for even though they are used and assigned to posts. That's a glitch on their side. The most obvious sign for a "broken tag" is the redirect (in the browser) from tag search to normal search, as you have also experienced.

@ErikBrown2
Copy link

ErikBrown2 commented Sep 2, 2024

I am not sure if the person who started this thread meant this but try to download the following link. It works in a webbrowser but not in TumblThree:

https://www.tumblr.com/tagged/ai%20girl

@ErikBrown2
Copy link

ErikBrown2 commented Sep 2, 2024

And this one is reported offline by TumblThree while it works in a webbrowser:

https://www.tumblr.com/tagged/sexy%20ai%20generated%20art

Update: This one worked after restarting TumblThree and trying it again.

@thomas694
Copy link
Contributor

Both work in TumblThree 2.14.2 and 2.15.0 (if the login succeeded resp. still logged in).

@ErikBrown2
Copy link

https://www.tumblr.com/tagged/ai%20girl does not work for me. I have tried it on three PCs and the behavior is the same on all three. When I queue the blog and then start download, then within one second the blog disappears from the queue and nothing is downloaded. I have tried it also with the setting "Advanced - Use new mode of handling Tumblr authorization errors" but this makes no difference. And yes, I have made sure that TumblThree was still logged on to Tumblr. (that was indeed my mistake with the other URL)

Since it works for you, there must be a difference between our setups that causes it not to work for me. Can you suggest anything that I can try?

@thomas694
Copy link
Contributor

It was nothing special, just a clean installation (unzipped to new folder and old settings folder removed) for testing.

@mjharwood
Copy link
Contributor Author

It worked for more cases after I upgraded to 2.15.0, but one case that worked stopped working again. Tumblr is just borked sometimes.

You could try logging out of tumblr and back in again. That might help convince tumblr to change which a/b group you are in.

@ErikBrown2
Copy link

Since https://www.tumblr.com/tagged/ai%20girl works for you but not on any of my three PCs, I have borrowed another PC, re-installed Windows 10 and TumblThree on it. I have kept all settings of TumblThree as original. But also on this PC https://www.tumblr.com/tagged/ai%20girl does not work. When I queue the blog for download and start the download, then within a second or so the blog is removed from the queue and nothing is downloaded from it.

I have attached the log here.
TumblThree.log

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

No branches or pull requests

3 participants