mittya / media-helper

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

Username not added anymore as filename prefix #74

Closed Ascathon closed 2 years ago

Ascathon commented 2 years ago

Before image started with username_ig_filename.jpg, now it is just _ig_filename.jpg. Still works in stories. (yet have to hunt down that part in the code to give suggestions)

Ascathon commented 2 years ago

This is the new username part I guess. No more span with _aap8 class. Same for timeline/feed and detail page _aaqt seems to be a unique class for an article.

<div class="x78zum5">
 <div class="_aaqt">
  <div class="_ab8w  _ab94 _ab97 _ab9f _ab9k _ab9p _abcm">
   <div class="_aacl _aaco _aacw _aacx _aad6 _aade">
   <div class="xt0psk2">
    <a class="x1i10hfl xjbqb8w x6umtig x1b1mbwd xaqea5y xav7gou x9f619 x1ypdohk xt0psk2 xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r xexx8yu x4uap5 x18d9i69 xkhd6sd x16tdsg8 x1hl2dhg xggy1nq x1a2a7pz _acan _acao _acat _acaw _a6hd" href="/ascathon/" role="link" tabindex="0">ascathon</a>
    </div>
   </div>
  </div>
 </div>
</div>
Odd67 commented 2 years ago

Videos story doesn't work anymore neither

Ascathon commented 2 years ago

It seems like Instagram is A/B testing their website. One of my accounts has this issue, another one doesn't. So for now maybe hard to get a good fix based on selectors.

Ascathon commented 2 years ago

Thanks @mittya , so many classes, what a pain. Many solution probably, best of the worse I guess.