This repository was archived by the owner on Mar 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -501,6 +501,9 @@ function isBlackListed(url) {
501501 * Check whether to interrupt the given url or not.
502502 */
503503function isWhiteListed ( url ) {
504+ if ( url . includes ( "videoplayback" ) ) {
505+ return true ;
506+ }
504507 for ( var keyword of keywordsToInclude ) {
505508 if ( url . includes ( keyword ) ) {
506509 return true ;
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ function saveChanges() {
5252 } ) ;
5353
5454 window . close ( ) ;
55- alert ( document . getElementById ( "fileSize" ) . value ) ;
5655}
5756
5857// When the popup HTML has loaded
Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ def read_message():
168168 pass
169169 if not filename :
170170 filename = extract_file_name (url )
171+ else :
172+ # Sometimes Firefox sends complete path
173+ filename = basename (filename )
171174
172175 # Add the referer url
173176 if referer :
@@ -184,6 +187,7 @@ def read_message():
184187 # Add the url
185188 command .append (url )
186189
190+ logger .debug ('Execute command: ' + str (command ))
187191 # Pass the parameters to uGet
188192 subprocess .call (command )
189193
You can’t perform that action at this time.
0 commit comments