Загрузчик хештегов
Мне нужна помощь с использованием установщика для сбора данных из постов из Instagram, содержащих #fashion, за определенный период времени.
Я хочу очистить визуальные и текстовые данные из сообщений (в частности, опубликованные изображения, их описания и комментарии).
1 ответ
Instaloader вызывается с помощью:
$ instaloader [параметры] цель [цель ...]
где целью является профиль, "#hashtag", @profile (все профили, за которыми следует профиль),% местоположения, или, если вы вошли в систему: feed (изображения из вашего канала),:stories (истории ваших подписчиков) или : сохранено (коллекция сообщений, отмеченных как сохраненные).
"#хэштег"
Posts with a certain hashtag (the quotes are usually necessary).
--комментарии, -C
Download and update comments for each post. This requires an additional request to the Instagram server for each post, which is why it is disabled by default
--latest-stamps [STAMPSFILE]
Works similarly to --fast-update, but instead of relying on already downloaded media, the time each profile was downloaded is stored, and only media newer than the last download is fetched. This allows updating your personal Instagram archive while emptying the target directories.
Only works for media associated with a specific profile, and that is returned in chronological order: profile posts, profile stories, profile IGTV posts, and profile tagged posts.
By default, the information is stored in ~/.config/instaloader/latest-stamps.ini, but you can specify an alternative location.
New in version 4.8.