Python Forum
instaloaders problem: search certain hashtag - posts without hashtag extracted
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
instaloaders problem: search certain hashtag - posts without hashtag extracted
#1
Hello!

I am extracting instagram posts with diverse hashtags (f.e. "bachmannpreis") via the command line of my computer, using Instaloader (https://github.com/instaloader/instaloader). I use following code:

instaloader --no-pictures --no-videos --no-compress-json --no-profile-pic --post-metadata-txt="{owner_username}\{caption}\{date_local}\{date_utc}\{likes}\{comments}\\\" --filename-pattern={date_utc:%d-%m-%Y}_UTC_{profile} “#bachmannpreis”
As you can see, I am extracting the caption in the txt-metadata.

Everything works just fine, but I noticed that Instaloader extracted a large number of posts for this hashtag that contain no caption at all, although this code only extracts posts with a caption containing the entered hashtag. These posts have no caption and therefore also do not contain the tag I am looking for.

I don't understand why these posts were extracted in my search for a specific hashtag if they do not actually contain this hashtag. Could someone explain why instaloader is extracting these wrong/useless posts? And how I might prevent this?

Thank you in advance!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Djongo (mongoDb) - Django rest framework Problem with search on JsonFields grzybekrafal 0 2,443 May-11-2021, 09:04 AM
Last Post: grzybekrafal
  problem python search engine forumpy 0 1,703 Sep-15-2020, 10:26 PM
Last Post: forumpy
  How to couunt extracted values ? Eidrizi 0 1,462 Sep-10-2020, 06:05 AM
Last Post: Eidrizi
  IFC entities extracted twice gurbhej_singh 15 6,689 Apr-13-2019, 08:38 PM
Last Post: gurbhej_singh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020