mittya / media-helper

Easily download Instagram pictures and ~videos~ (Browser extensions)
MIT License
81 stars 15 forks source link

Can no longer download posts #67

Closed mleyen closed 2 years ago

mleyen commented 2 years ago

Download button simply does not appear. No message is logged.

Ascathon commented 2 years ago

I'm not an overskilled javascript reader but I'd say the _aagt class is not present anymore on the image. On of the following one seems to be there on the homepage and the detailpage. pytsy3co buh8m867 s8sjc6am ekq1a7f9 f14ij5to mfclru0v

Certrainly not in line with their _aa* naming, curious.

Or go for a different approacht? The first image below div with class _aagv.

thinkpad4 commented 2 years ago

@mittya Just noticed the button missing as well today

Focusstman commented 2 years ago

Same here

bit9labs commented 2 years ago

As @Ascathon it looks like Firefox at least changed the value it returns on the mouseover event. It looks like the target is now the image class as checked by adding console.log(event.target.className); The if statement can be updated to something like if (event.target.className.includes("pytsy3co")) {

jimdaway commented 2 years ago

I just checked this morning and the download button is not appearing for me as well. There are some great theories and offered directions above. Hopefully the author can look at this soon.

Santeri-Salminen commented 2 years ago

I'm not a JS expert, but could

if (event.target.className === '_aagt') {

be simply extended to

if (event.target.parentNode.className === '_aagv') {

Ascathon commented 2 years ago

@Santeri-Salminen 's solution seems to work in debugging. But with so many selectors it is up to the developer to pick te best one. Other devvers don't know his philosophy in picking the best selector.

thinkpad4 commented 2 years ago

@mittya Any timeline on when you might be able to fix this? Thank you

mleyen commented 2 years ago

@mleyen Any timeline on when you might be able to fix this? Thank you

@thinkpad4 I'm afraid I don't have a fix, I just reported the issue. You probably meant to tag @mittya

thinkpad4 commented 2 years ago

I made a derp, sorry. Fixed now