Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
-
from
|
3 |
|
4 |
hide_streamlit_style = """
|
5 |
<style>
|
@@ -37,9 +37,8 @@ class InstagramDownloader:
|
|
37 |
@staticmethod
|
38 |
def download_content(post_url):
|
39 |
with st.spinner("Downloading..."):
|
40 |
-
|
41 |
-
|
42 |
-
post.download(dest="/Users/user/Pictures/Instagram")
|
43 |
st.success("Downloaded the specified media")
|
44 |
|
45 |
@classmethod
|
|
|
1 |
import streamlit as st
|
2 |
+
from insta_reels import InstaReels
|
3 |
|
4 |
hide_streamlit_style = """
|
5 |
<style>
|
|
|
37 |
@staticmethod
|
38 |
def download_content(post_url):
|
39 |
with st.spinner("Downloading..."):
|
40 |
+
insta_reels = InstaReels(post_url)
|
41 |
+
insta_reels.download("/Users/user/Pictures/Instagram")
|
|
|
42 |
st.success("Downloaded the specified media")
|
43 |
|
44 |
@classmethod
|