Skip to content

Commit

Permalink
v.0.5.5.0: adapt to site changes, minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
crouvpony47 committed Jan 11, 2025
1 parent ac25cd4 commit c253b1e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ Yet another mass downloader for FurAffinity.net.

[Download stable win32 builds.](https://github.com/crouvpony47/furdown/releases)

### Changelog (v.0.5.2.0)
- added support for downloading content from the submissions inbox (submissions from the watched artists);
- `%SCRAPS%` value is set correctly for all submissions regardless of the URL used to produce the submissions list (previously this did not work properly for favorites);
- fixed update mode related issues;
- minor quality of life improvements, including: a distinct app icon, better Win7+ taskbar progress indication, autocorrecting common issues with the URLs (leaving page number in the URL, no `https://`, etc.), support for legacy download URLs parsing
- v.0.5.3.0 implements a fix for a bug preventing submission inbox from being downloaded fully when the default order is set to be "Oldest first"
### Changelog (v.0.5.5.0)
- adapt to site changes

### A note about CF's "I'm Under Attack" mode
- If you are already logged in but are shown the login form anyway, simply navigate to the FA main page.

### System requirements
- Windows Vista SP2 or newer, might not work on server editions
- .NET 4.5
- Windows 7 or newer, might not work on server editions
- .NET 4.6.2
- IE11 (for systems where IE11 is not available, compile Furdown from source after adjusting `src/Program.cs:WebBrowserEmulationSet()` accordingly)

IE11 requirement can be bypassed if you implement an alternative cookie provider, see "Advanced options" section below.
Expand All @@ -27,7 +23,7 @@ IE11 requirement can be bypassed if you implement an alternative cookie provider
To leave no traces in ApplicationData directory you can create an empty file called `furdown-portable.conf` in the working directory, it will then be used as a settings storage file instead of the default `%AppData%\furdown\furdown.conf`.

### Batch/CLI mode
v.0.3.6 has a basic support for being run within a batch script, or from a terminal.
v.0.3.6 adds a basic support for being run within a batch script, or from a terminal.

For that `-b` must be passed as the first argument, followed by a combination of one or more arguments:

Expand Down
15 changes: 12 additions & 3 deletions src/AppCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public AppCore()

// welcome thing
Console.WriteLine(@"furdown " + Assembly.GetEntryAssembly().GetName().Version);
Console.WriteLine(@"<github.com/crouvpony47> <crouvpony47.itch.io>");
Console.WriteLine(@"<https://github.com/crouvpony47> <https://crouvpony47.itch.io>");
// initialize http client
httph = new HttpClientHandler();
httph.AutomaticDecompression = System.Net.DecompressionMethods.GZip | System.Net.DecompressionMethods.Deflate;
Expand Down Expand Up @@ -310,9 +310,15 @@ public async Task<List<string>> CreateSubmissionsListFromGallery(string gallery)
int counter = 0;
do
{
var nextMatch = Regex.Match(cpage, submIdAndFidRegex, RegexOptions.CultureInvariant);
var nextMatch = Regex.Match(cpage, submIdAndFidRegex, RegexOptions.CultureInvariant | RegexOptions.Singleline);
if (nextMatch.Success)
{
if (nextMatch.Groups[0].Value.Contains("</figure"))
{
Console.WriteLine("Error :: unexpected match.");
Console.WriteLine("Please report this issue on GitHub: https://github.com/crouvpony47/furdown/issues");
continue;
}
uint sid = 0, fid = 0;
if (!uint.TryParse(nextMatch.Groups[1].Value, out sid))
{
Expand Down Expand Up @@ -715,7 +721,10 @@ in sp.GetType().GetFields(
try
{
Directory.CreateDirectory(Path.GetDirectoryName(fnamefull));
Directory.CreateDirectory(Path.GetDirectoryName(dfnamefull));
if (needDescription)
{
Directory.CreateDirectory(Path.GetDirectoryName(dfnamefull));
}
}
catch
{
Expand Down
6 changes: 3 additions & 3 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("crouvpony47")]
[assembly: AssemblyProduct("furdown")]
[assembly: AssemblyCopyright("Copyright © 2017-2024, crouvpony47")]
[assembly: AssemblyCopyright("Copyright © 2017-2025, crouvpony47")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("8b45577e-b5d1-4056-96e6-b2647e18b867")]

[assembly: AssemblyVersion("0.5.4.0")]
[assembly: AssemblyFileVersion("0.5.4.0")]
[assembly: AssemblyVersion("0.5.5.0")]
[assembly: AssemblyFileVersion("0.5.5.0")]
[assembly: NeutralResourcesLanguage("en")]

1 change: 1 addition & 0 deletions src/SubmissionsDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public bool RemoveSubmission(uint sub)

public void Clear()
{
DB.fileids.Clear();
DB.database.Clear();
Save();
}
Expand Down
4 changes: 1 addition & 3 deletions src/app.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="0.5.4.0" name="Furdown.app"/>
<assemblyIdentity version="0.5.5.0" name="Furdown.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
Expand All @@ -10,8 +10,6 @@
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
<!-- Windows 8 -->
Expand Down

0 comments on commit c253b1e

Please sign in to comment.