Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
Signed-off-by: Saptarshi Sarkar <saptarshi.programmer@gmail.com>
  • Loading branch information
SaptarshiSarkar12 committed Oct 16, 2022
1 parent e103870 commit f03a7b1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 15 deletions.
1 change: 1 addition & 0 deletions .idea/artifacts/Drifty_CLI_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Drifty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<chdir>.</chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl>https://github.com/SaptarshiSarkar12/Drifty/issues/new/choose</supportUrl>
<supportUrl>https://github.com/SaptarshiSarkar12/Drifty/discussions/</supportUrl>
<stayAlive>false</stayAlive>
<restartOnCrash>true</restartOnCrash>
<restartOnCrash>false</restartOnCrash>
<manifest></manifest>
<icon>D:\Drifty\Drifty.ico</icon>
<jre>
Expand All @@ -24,12 +24,12 @@
<runtimeBits>64/32</runtimeBits>
</jre>
<versionInfo>
<fileVersion>1.1.0.0</fileVersion>
<txtFileVersion>1.0.0.0</txtFileVersion>
<fileVersion>1.2.0.0</fileVersion>
<txtFileVersion>1.1.0.0</txtFileVersion>
<fileDescription>Drifty is an open-source interactive File Downloader system built with java.</fileDescription>
<copyright>Copyright © 2022 - 32 Saptarshi Sarkar</copyright>
<productVersion>1.1.0.0</productVersion>
<txtProductVersion>1.0.0.0</txtProductVersion>
<productVersion>1.2.0.0</productVersion>
<txtProductVersion>1.1.0.0</txtProductVersion>
<productName>Drifty</productName>
<companyName></companyName>
<internalName>Drifty CLI</internalName>
Expand Down
Binary file modified Drifty_CLI.exe
Binary file not shown.
6 changes: 0 additions & 6 deletions Drifty_CLI_LOG.log

This file was deleted.

Binary file modified out/artifacts/Drifty_CLI_jar/Drifty.jar
Binary file not shown.
Binary file modified out/production/Drifty/Drifty_CLI.class
Binary file not shown.
7 changes: 4 additions & 3 deletions src/Drifty_CLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,17 @@ public static void main(String[] args) {
}
while(true) {
fName = null;
String link = "";
System.out.print("Enter the link to the file : ");
String link = SC.next();
while (true) {
System.out.print("Enter the link to the file : ");
link = SC.next();
isYoutubeURL = isYoutubeLink(link);
if (isYoutubeURL){
break;
}
if (!isURLValid(link)) {
System.out.println("Invalid URL. Please enter again");
System.out.print("Enter the link to the file : ");
link = SC.next();
} else if (!containsFilename(link)) {
System.out.println("Automatic file name detection failed!");
logger.log("ERROR", "Automatic file name detection failed!");
Expand Down

0 comments on commit f03a7b1

Please sign in to comment.