This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
610 additions
and
1,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,30 +29,26 @@ Run `instafeed -h` for usage help. | |
|
||
`instafeed` expects the `IG_LOGIN` and `IG_PASSWORD` environment variables set to your Instagram login and password respectively, and the username of the Instagram user provided as argument. On successful execution, it prints the resulting RSS feed on the standard output. | ||
|
||
If multiple Instagram users arguments are provided, `instafeed` will bulk all retrieved posts into a single feed sorted in reverse chronological order (i.e. from newest to oldest). | ||
|
||
Example: | ||
|
||
``` | ||
```console | ||
$ export IG_LOGIN="your_instagram_login" IG_PASSWORD="********" | ||
$ ./instafeed marutaro > marutaro.xml | ||
$ cat marutaro.xml | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"> | ||
<channel> | ||
<title>Instagram Feed: Shinjiro Ono</title> | ||
<link>https://www.instagram.com/marutaro</link> | ||
<description>My official shop is in 2-12-3 Nezu Bunkyo-ku Japan✨🐶✨ まるのお店は 根津駅徒歩1分にあるよ!👇ブログ更新したよ👇</description> | ||
<managingEditor>[email protected] (Shinjiro Ono)</managingEditor> | ||
<pubDate>Tue, 03 Apr 2018 15:45:15 +0200</pubDate> | ||
<item> | ||
<title>You've had a tough day. Thanks for your hard wo...</title> | ||
<link>https://www.instagram.com/p/BhGv7aMnkAm</link> | ||
<description>You've had a tough day. Thanks for your hard wo...</description> | ||
<content:encoded><![CDATA[<p>You've had a tough day. Thanks for your hard work.✨🐶✨おつまる〜\(^o^)/ 今日もよく頑張ったね! | ||
#今日のお昼は何食べて来たの❓ | ||
#っていうか昨日のお昼何食べたか覚えてる❓</p><p><img src="https://scontent-cdg2-1.cdninstagram.com/vp/398dc348ba778a65a8313936c3b3b6b4/5B5A6F96/t51.2885-15/s750x750/sh0.08/e35/29417321_2040161612665341_6846638084159700992_n.jpg?ig_cache_key=MTc0OTI5NjI5NjA0NDE1MDgyMg%3D%3D.2"></p>]]></content:encoded> | ||
<pubDate>Tue, 03 Apr 2018 12:46:30 +0200</pubDate> | ||
</item> | ||
... | ||
</channel> | ||
</rss> | ||
|
||
# Fetching a single user feed | ||
$ instafeed marutaro > marutaro.xml | ||
|
||
# Fetching multiple user feeds, limiting to 10 posts per user | ||
$ instafeed -n 10 marutaro nala_cat realgrumpycat > feeds.xml | ||
|
||
# Fetching multiple user feeds from a list | ||
$ cat > ~/.instagram_users <<EOF | ||
marutaro | ||
nala_cat | ||
realgrumpycat | ||
EOF | ||
$ instafeed -n 10 -l ~/.instagram_users > feeds.xml | ||
``` | ||
|
||
In order to avoid re-logging into Instagram upon each execution, `instafeed` stores the user profile into a local file that is read at runtime (your password is **not** stored). By default this file is located at `$HOME/.instafeed`, but a different path can be specified using the `-f` option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
vendor/github.com/ahmdrz/goinsta/LICENSE
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.