Tobaly commited on
Commit
2cb1cff
·
verified ·
1 Parent(s): 10129c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -7
app.py CHANGED
@@ -132,17 +132,25 @@ def download_from_wetransfer(url, output_path):
132
  def handle_dropbox_transfer_with_prompt(url, output_dir):
133
  """Handle Dropbox Transfer with manual intervention"""
134
  error_msg = f"""
135
- ⚠️ DROPBOX TRANSFER DETECTED ⚠️
136
 
137
- Unfortunately, Dropbox Transfer links require manual intervention.
138
 
139
- Please do the following:
140
  1. Open this URL in a new tab: {url}
141
- 2. Click 'Download' or 'Download all'
142
- 3. If it's a single file, upload it directly using 'File Upload' method instead
143
- 4. If it's multiple files, they'll download as ZIP - extract and upload the media file
 
 
 
144
 
145
- For now, please use the 'File Upload' option instead of the URL method.
 
 
 
 
 
146
  """
147
  raise Exception(error_msg)
148
 
 
132
  def handle_dropbox_transfer_with_prompt(url, output_dir):
133
  """Handle Dropbox Transfer with manual intervention"""
134
  error_msg = f"""
135
+ 🔗 DROPBOX TRANSFER DETECTED - Manual Link Required 🔗
136
 
137
+ Dropbox Transfer links need a small extra step:
138
 
139
+ OPTION 1 - Get Direct Download Link (Recommended):
140
  1. Open this URL in a new tab: {url}
141
+ 2. Click 'Download' or 'Download all'
142
+ 3. Your browser will start downloading
143
+ 4. Go to your browser's download manager (usually Ctrl+J or Cmd+Shift+J)
144
+ 5. RIGHT-CLICK on the downloading item → "Copy Download Link"
145
+ 6. Come back here and paste that direct link in the "File URL" field
146
+ 7. Try processing again - it should work!
147
 
148
+ OPTION 2 - File Upload Instead:
149
+ 1. Let the download finish from step 2 above
150
+ 2. Switch to "File Upload" method in the form
151
+ 3. Upload the downloaded file directly
152
+
153
+ 💡 Tip: The direct download link (Option 1) is usually faster and works great with the URL method!
154
  """
155
  raise Exception(error_msg)
156