From 364cc8d0b859d9de2a1b84797a6e712a9f670719 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Sat, 26 Mar 2022 00:07:18 +0500 Subject: [PATCH] [docs] InstagramBridge: adapt bridge documentation to new documentation structure (#2538) --- README.md | 2 +- .../10_Bridge_Specific/Instagram.md | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) rename doc/bridges/InstagramBridge.rst => docs/10_Bridge_Specific/Instagram.md (70%) diff --git a/README.md b/README.md index 72381033..18709a67 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Supported sites/pages (examples) * `FlickrExplore` : [Latest interesting images](http://www.flickr.com/explore) from Flickr * `GoogleSearch` : Most recent results from Google Search * `Identi.ca` : Identica user timeline (Should be compatible with other Pump.io instances) -* `Instagram`: Most recent photos from an Instagram user (It is recommended to [configure](doc/bridges/InstagramBridge.rst) this bridge to work) +* `Instagram`: Most recent photos from an Instagram user (It is recommended to [configure](https://rss-bridge.github.io/rss-bridge/Bridge_Specific/Instagram.html) this bridge to work) * `OpenClassrooms`: Lastest tutorials from [fr.openclassrooms.com](http://fr.openclassrooms.com/) * `Pinterest`: Most recent photos from user or search * `ScmbBridge`: Newest stories from [secouchermoinsbete.fr](http://secouchermoinsbete.fr/) diff --git a/doc/bridges/InstagramBridge.rst b/docs/10_Bridge_Specific/Instagram.md similarity index 70% rename from doc/bridges/InstagramBridge.rst rename to docs/10_Bridge_Specific/Instagram.md index e58760f6..6090ee4a 100644 --- a/doc/bridges/InstagramBridge.rst +++ b/docs/10_Bridge_Specific/Instagram.md @@ -1,8 +1,7 @@ -================= - InstagramBridge -================= +InstagramBridge +=============== -To somehow bypass the `rate limiting issue `_, +To somehow bypass the [rate limiting issue](https://github.com/RSS-Bridge/rss-bridge/issues/1891) it is suggested to deploy a private RSS-Bridge instance that uses a working Instagram account. Configuration @@ -30,17 +29,17 @@ It is NOT recommended to use your existing account that is used for common inter - In the new frame open the "Headers" tab and scroll to "Request Headers" -- There will be a cookie param will lots of ``=;`` text. You need the value of the "sessionid" key. Copy it. +- There will be a cookie param will lots of `=;` text. You need the value of the "sessionid" key. Copy it. 2. Configuring RSS-Bridge - In config.ini.php add following configuration: -.. code-block:: - - [InstagramBridge] - session_id = %sessionid from step 1% - cache_timeout = %cache timeout in seconds% +``` +[InstagramBridge] +session_id = %sessionid from step 1% +cache_timeout = %cache timeout in seconds% +``` The bigger the cache_timeout value, the smaller the chance for RSS-Bridge to throw 429 errors. Default cache_timeout is 3600 seconds (1 hour).