instascrape
instascrape copied to clipboard
How Do I scrape hashtag
Hi, could you show me how to download hashtags only using CLI? I got an error every time I run the code over CLI.
instascrape download #lokalx --top-posts
instascrape download: error: the following arguments are required: TARGET```
Thanks
instascrape download -top "#wow"
the command seems to start downloading the "#wow" hashtag, but the program errors with:
elf._full_data = self._insta._fetch_json_data(HASHTAG_URL.format(tagname=self.tagname))["hashtag"]
KeyError: 'hashtag'
I haven't taken a look at the code yet, but perhaps hashtags need to be escaped, like \#
.