tajnymag / tinder-deblur

Simple script using the official Tinder API to get clean photos of the users who liked you
MIT License
293 stars 29 forks source link

[Bug] The script stopped working #10

Closed Wexutar closed 1 year ago

Wexutar commented 1 year ago

When i was browsing my Tinder in the last 2 days, i encountered a new issue recently. The script only shows the second person who liked me ,and the rest keep blurred, hidden. It is the same on chrome and firefox too.

tajnymag commented 1 year ago

I deleted my Tinder account, so I can't test it right away, but could you please try these steps and post the result?

  1. temporarily disable tinder-deblur in your script manager extension
  2. load the likes screen on Tinder
  3. open the developer console by pressing
  4. switch to the Console tab
  5. paste this command document.querySelectorAll('.Expand.enterAnimationContainer > div:nth-child(1)')
  6. post a screenshot of the output

The thing I'd like to check is, whether tinder-deblur is able to find all 10 elements in the page

M9k commented 1 year ago

It stopped working for me too, but for me it just keep swaps the penultimate image with other blur images. Really strange. image

tajnymag commented 1 year ago

@M9k

Hmm, that seems like we did find the correct elements, or at least their parent/child. Maybe the API response has changed? Could you try intercepting it using the tools in Network tab?

mpanowicz commented 1 year ago

The image returned from API for a few matches is blurred. e.g. https://images-ssl.gotinder.com/xyz/blurred_xyz.jpg

I've changed building the URL in line https://github.com/tajnymag/tinder-deblur/blob/main/tinder.user.js#L30 to const teaserImage = "https://preview.gotinder.com/" + teaser.user._id + "/original_" + teaser.user.photos[0].id + ".jpeg";

tajnymag commented 1 year ago

The image returned from API for a few matches is blurred. e.g. https://images-ssl.gotinder.com/xyz/blurred_xyz.jpg

I've changed building the URL in line https://github.com/tajnymag/tinder-deblur/blob/main/tinder.user.js#L30 to const teaserImage = "https://preview.gotinder.com/" + teaser.user._id + "/original_" + teaser.user.photos[0].id + ".jpeg";

Wait, that works? Wow, thank you. Do the unblurred images from preview.gotinder.com match the blurred images that are normally displayed?

If so, it's a major discovery and I'll implement it in the morning.

mpanowicz commented 1 year ago

I think so, it worked for me. I've built that URL based on one returned correctly (the second person).

tajnymag commented 1 year ago

Ok, expect an experimental update in the following 24 hours. Thank you very much.

M9k commented 1 year ago

The image returned from API for a few matches is blurred. e.g. https://images-ssl.gotinder.com/xyz/blurred_xyz.jpg

I've changed building the URL in line https://github.com/tajnymag/tinder-deblur/blob/main/tinder.user.js#L30 to const teaserImage = "https://preview.gotinder.com/" + teaser.user._id + "/original_" + teaser.user.photos[0].id + ".jpeg";

It works flawless!

tajnymag commented 1 year ago

Pushed version 2.5. The userscript should update itself automatically when your userscript manager checks for updates, or you can force the refresh manually.

Let me know, if it works correctly, so I can close the issue :slightly_smiling_face:

anatolek123456 commented 1 year ago

seems to be broken at least for me still, pre-update it only unblurred 1 pic, now it shows the blurred pics for like half a second upon page load and then every pic just goes black/white (depending on dark mode on/off)

mpanowicz commented 1 year ago

@tajnymag there is missing : after https in the URL https//preview.gotinder.com

anatolek123456 commented 1 year ago

yep that fixed it

tajnymag commented 1 year ago

fok

tajnymag commented 1 year ago

Pushed v2.6 with fixed typo found by @mpanowicz

JotaroLR commented 1 year ago

Salut à tous ! Je n'arrive plus à déflouter les matchs sur tinder pouvez nous m'aider merci d'avance ?