1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-18 04:37:30 +00:00
This commit is contained in:
Austin Huang 2020-08-11 15:01:00 -04:00
parent 7ddf356de9
commit 280e5d44c0
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with 8 additions and 2 deletions

View File

@ -45,10 +45,10 @@ public final class iStoryStatusFetcher extends AsyncTask<Void, Void, StoryModel[
StoryModel[] result = null; StoryModel[] result = null;
final String url = "https://" + (storiesig ? "storiesig" : "i.instagram") + ".com/api/v1/" final String url = "https://" + (storiesig ? "storiesig" : "i.instagram") + ".com/api/v1/"
+ (isLoc ? "locations/" : (isHashtag ? "tags/" : (highlight ? "feed/reels_media?user_ids=" : "feed/user/"))) + (isLoc ? "locations/" : (isHashtag ? "tags/" : (highlight ? "feed/reels_media?user_ids=" : "feed/user/")))
+ id + (highlight ? "" : (storiesig ? "/reel_media/" : "/story/")); + id.replace(":", "%3A") + (highlight ? "" : (storiesig ? "/reel_media/" : "/story/"));
try { try {
final HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection(); final HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
conn.setInstanceFollowRedirects(false); conn.setInstanceFollowRedirects(true);
conn.setUseCaches(false); conn.setUseCaches(false);
conn.setRequestProperty("User-Agent", storiesig ? Constants.A_USER_AGENT : Constants.I_USER_AGENT); conn.setRequestProperty("User-Agent", storiesig ? Constants.A_USER_AGENT : Constants.I_USER_AGENT);
conn.connect(); conn.connect();

View File

@ -0,0 +1,6 @@
* Added AMOLED dark mode (#45, Thanks @ammargitham)
* Various bug fixes, including
* #39 (Updater shows the next version instead of the latest version)
* Downloading stories still uses @... folder
* Story highlights not being shown
* Discover view being shown to non-logged-in users