Skip to content

Commit

Permalink
reels error
Browse files Browse the repository at this point in the history
csuhan/ReDet#14 (comment)

future feature annotations is not defined (profile.py, line 1)
  • Loading branch information
imvickykumar999 committed Sep 7, 2021
1 parent a7fa7fb commit f388cbd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/base.html
Expand Up @@ -104,9 +104,9 @@

<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="alert alert-primary" role="alert">
<a style="color:red;" class="navbar-brand" href="{{url_for('reels')}}">
<a style="color:red;" class="navbar-brand" href="{{url_for('yourquotes')}}">
<strong>
Reels <br> Downloader
Your <br> Quotes
</strong>
</a>
</div>
Expand Down Expand Up @@ -147,7 +147,7 @@ <h6>
<a style="color:blue;" class="dropdown-item" href="{{url_for('movies')}}"><strong>Movies</strong></a>
<a style="color:red;" class="dropdown-item" href="{{url_for('news')}}"><strong>News</strong></a>
<a style="color:green;" class="dropdown-item" href="{{url_for('vickstube')}}"><strong>YouTube</strong></a>
<a style="color:blue;" class="dropdown-item" href="{{url_for('reels')}}"><strong>Reels</strong></a>
<a style="color:blue;" class="dropdown-item" href="{{url_for('reels')}}"><strong>Reels Downloader</strong></a>
</div>
<div class="dropdown-divider"></div>

Expand Down
2 changes: 1 addition & 1 deletion templates/reels.html
Expand Up @@ -77,7 +77,7 @@ <h1>

<br>
<div class="alert alert-success" role="alert">
<a href="{{path}}">
<a target="_blank" href="{{path}}">
<h2 style="color:green;">
Share Downloaded Reel
<br>
Expand Down
4 changes: 2 additions & 2 deletions templates/ytc.html
Expand Up @@ -142,7 +142,7 @@ <h3>Click me to<br>Download Video</h3>
<br><br>
<div class="alert alert-success" role="alert">
<strong>
<a href="/uploads/videos/{{title}}_trimmed.mp4">
<a target="_blank" href="/uploads/videos/{{title}}_trimmed.mp4">

<h2 style="color:red;">
Share (Copy Hyperlink) Downloaded Video
Expand All @@ -167,7 +167,7 @@ <h3>Click me to<br>Download Audio</h3>
<br><br>
<div class="alert alert-success" role="alert">
<strong>
<a href="uploads/audio/{{title}}_trimmed.mp3">
<a target="_blank" href="uploads/audio/{{title}}_trimmed.mp3">

<h2 style="color:red;">
Share (Copy Hyperlink) Downloaded Audio
Expand Down
2 changes: 2 additions & 0 deletions vicks/reels.py
@@ -1,6 +1,8 @@
import time
from instascrape import Reel

# https://github.com/csuhan/ReDet/issues/14#issuecomment-914544044

def download(link):
path = f"uploads/reels/{int(time.time())}.mp4"

Expand Down

0 comments on commit f388cbd

Please sign in to comment.