Merge branch 'master' into deepsource-transform-67d15f45
						commit
						1f9615f2fd
					
				| 
						 | 
					@ -89,7 +89,7 @@ async function downloadNOPY(url, savepath) {
 | 
				
			||||||
  // Set the save path
 | 
					  // Set the save path
 | 
				
			||||||
  await page._client.send("Page.setDownloadBehavior", {
 | 
					  await page._client.send("Page.setDownloadBehavior", {
 | 
				
			||||||
    behavior: "allow",
 | 
					    behavior: "allow",
 | 
				
			||||||
    downloadPath: path.basename(path.dirname(savepath)), // Is a directory
 | 
					    downloadPath: path.basename(path.dirname(savepath)), // It's a directory
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Obtain the download button and click it
 | 
					  // Obtain the download button and click it
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
'use strict';
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Object obtained in response to an attempt to login to the portal.
 | 
					 * Object obtained in response to an attempt to login to the portal.
 | 
				
			||||||
| 
						 | 
					@ -14,7 +14,7 @@ class LoginResult {
 | 
				
			||||||
     * Login response message
 | 
					     * Login response message
 | 
				
			||||||
     * @type String
 | 
					     * @type String
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    this.message = '';
 | 
					    this.message = "";
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
module.exports = LoginResult;
 | 
					module.exports = LoginResult;
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
module.exports = Object.freeze({
 | 
					module.exports = Object.freeze({
 | 
				
			||||||
  F95_BASE_URL: 'https://f95zone.to',
 | 
					  F95_BASE_URL: "https://f95zone.to",
 | 
				
			||||||
  F95_SEARCH_URL: 'https://f95zone.to/search',
 | 
					  F95_SEARCH_URL: "https://f95zone.to/search",
 | 
				
			||||||
  F95_LATEST_UPDATES: 'https://f95zone.to/latest',
 | 
					  F95_LATEST_UPDATES: "https://f95zone.to/latest",
 | 
				
			||||||
  F95_LOGIN_URL: 'https://f95zone.to/login',
 | 
					  F95_LOGIN_URL: "https://f95zone.to/login",
 | 
				
			||||||
  F95_WATCHED_THREADS: 'https://f95zone.to/watched/threads',
 | 
					  F95_WATCHED_THREADS: "https://f95zone.to/watched/threads",
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
		Loading…
	
		Reference in New Issue