Open docholllidae opened 2 days ago
Use the {user[...]}
values instead of {owner_id}
etc. These always reference the user account from your input URLs instead of a potential co-author.
Shouldn't {username}
be the same here?
Also
"directory": ["zzInsta","downloads","{owner_id}.{username}","{subcategory}"],
doesn't result in instagram\<profilename>
like you suggested? What are you actually doing?
Shouldn't
{username}
be the same here?Also
"directory": ["zzInsta","downloads","{owner_id}.{username}","{subcategory}"],
doesn't result in
instagram\<profilename>
like you suggested? What are you actually doing?
you're right, i had a brain fart when writing up my post.
it results in zzInsta\downloads\id.username
which i want (zz is prepended just cause i want the scraped sites at the bottom of my directory listing, there's other IG specific files in there so downloads go in a subdirectory, and then I add the the owner_id
to the start of the user's folder cause some people tend to be quite liberal with their name changes)
I edited the OP to make those corrections
Use the
{user[...]}
values instead of{owner_id}
etc. These always reference the user account from your input URLs instead of a potential co-author.
I'm not sure what {user[...]}
values you refer to? running with -j option on a post the only values i find with "user" in the name is username
(https://www.instagram.com/p/C_3dPwEPmzU/ example)
after some digging I did find a sort of work around, I add this into the extractor's options
"parent-directory": "true"
the only downside being the filename is still named with the co-author's username, but that's a very minor detail to me in this case
sometimes when downloading a user's profile it will put a post or two into another folder due to that post being coauthored with another profile
when scraping a profile all posts are downloaded to
zzInsta\downloads\{owner.id}.{username}
however when scrapingletrileylive
's profile, when the extractor reaches this post https://www.instagram.com/letrileylive/reel/C_3dPwEPmzU/ (warning: semi-nsfw) it is downloaded tozzInsta\downloads\6200677336.officialplayboyplus
folder instead of the folder forletrileylive
(note the link does redirect in the browser to https://www.instagram.com/officialplayboyplus/reel/C_3dPwEPmzU/)how can i make sure these collab/coauthor posts are saved to the directory of the profile being scraped?
for reference here is my config: