AnimeDl 1.3.9
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package AnimeDl --version 1.3.9
NuGet\Install-Package AnimeDl -Version 1.3.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AnimeDl" Version="1.3.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnimeDl --version 1.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnimeDl, 1.3.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AnimeDl as a Cake Addin
#addin nuget:?package=AnimeDl&version=1.3.9
// Install AnimeDl as a Cake Tool
#tool nuget:?package=AnimeDl&version=1.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AnimeDl
AnimeDl scrapes animes from sites.
πSTAR THIS REPOSITORY TO SUPPORT THE DEVELOPER AND ENCOURAGE THE DEVELOPMENT OF THE PROJECT!
<br>
Please do not attempt to upload AnimeDl or any of it's forks on Playstore or any other Android appstores on the internet. Doing so, may infringe their terms and conditions. This may result to legal action or immediate take-down of the app.
- Available Anime sources:-
SITE | STATUS | DOWNLOADS |
---|---|---|
Gogo | WORKING | SOME |
Zoro | WORKING | SOME |
9Anime | NOT WORKING | NO |
Twist | NOT WORKING | YES |
Tenshi | WORKING | YES |
Install
- π¦ NuGet:
dotnet add package AnimeDl
Example 1: Non-Async Method
Here is an example of using animedl
using System;
using AnimeDl;
using AnimeDl.Scrapers;
namespace AnimeApp
{
class Class1
{
public void Example1()
{
var client = new AnimeClient(AnimeSites.Tenshi);
client.OnAnimesLoaded += (s, e) =>
{
var animes = e.Animes;
Console.WriteLine("Animes found: ");
Console.WriteLine();
for (int i = 0; i < animes.Count; i++)
{
Console.WriteLine($"[{i + 1}] {animes[i].Title}");
}
Console.WriteLine();
// Read the anime number selected
Console.Write("Enter anime number: ");
int animeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out animeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter anime number: ");
}
animeIndex--;
Console.WriteLine();
// Read the anime episodes
var episodes = client.GetEpisodes(animes[animeIndex]);
};
client.OnEpisodesLoaded += (s, e) =>
{
var episodes = e.Episodes;
Console.WriteLine("Episodes found: " + episodes.Count);
// Read the episode number selected
Console.Write("Enter episode number: ");
int episodeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out episodeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter episode number: ");
}
episodeIndex--;
Console.WriteLine();
var qualities = client.GetEpisodeLinks(episodes[episodeIndex]);
};
client.OnQualitiesLoaded += (s, e) =>
{
var qualities = e.Qualities;
Console.WriteLine($"Qualities found: " + qualities.Count);
for (int i = 0; i < qualities.Count; i++)
{
Console.WriteLine($"[{i + 1}] {qualities[i].Resolution}");
}
Console.WriteLine();
// Read the episode number selected
Console.Write("Enter quality number: ");
int qualityIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out qualityIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter quality number: ");
}
qualityIndex--;
// Download the stream
var fileName = $@"{DateTime.Now.Ticks}.mp4";
using (var progress = new ConsoleProgress())
client.Download(qualities[qualityIndex], fileName, progress);
Console.WriteLine("Done");
Console.WriteLine($"Video saved to '{fileName}'");
};
// Read the anime name
Console.Write("Enter anime name: ");
var query = Console.ReadLine() ?? "";
//First (Search anime by name)
client.Search(query);
}
}
}
Example 2: Async Method
Here is an example of using animedl
using System;
using AnimeDl;
using AnimeDl.Scrapers;
namespace AnimeApp
{
class Class1
{
//Method with force load
public static async Task Example2()
{
var client = new AnimeClient(AnimeSites.Tenshi);
// Read the anime name
Console.Write("Enter anime name: ");
var query = Console.ReadLine() ?? "";
var animes = client.Search(query, forceLoad: true);
Console.WriteLine("Animes found: ");
Console.WriteLine();
for (int i = 0; i < animes.Count; i++)
{
Console.WriteLine($"[{i+1}] {animes[i].Title}");
}
Console.WriteLine();
// Read the anime number selected
Console.Write("Enter anime number: ");
int animeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out animeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter anime number: ");
}
animeIndex--;
Console.WriteLine();
// Read the anime episodes
var episodes = client.GetEpisodes(animes[animeIndex], forceLoad: true);
Console.WriteLine("Episodes found: " + episodes.Count);
// Read the episode number selected
Console.Write("Enter episode number: ");
int episodeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out episodeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter episode number: ");
}
episodeIndex--;
Console.WriteLine();
var qualities = client.GetEpisodeLinks(episodes[episodeIndex], forceLoad: true);
Console.WriteLine($"Qualities found: " + qualities.Count);
for (int i = 0; i < qualities.Count; i++)
{
Console.WriteLine($"[{i + 1}] {qualities[i].Resolution}");
}
Console.WriteLine();
// Read the episode number selected
Console.Write("Enter quality number: ");
int qualityIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out qualityIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter quality number: ");
}
qualityIndex--;
// Download the stream
var fileName = $@"{Environment.CurrentDirectory}\{animes[animeIndex].Title} - Ep {episodes[episodeIndex].EpisodeNumber}.mp4";
using (var progress = new ConsoleProgress())
await client.DownloadAsync(qualities[qualityIndex], fileName, progress);
Console.WriteLine("Done");
Console.WriteLine($"Video saved to '{fileName}'");
Console.ReadLine();
}
//Async Method
public static async Task Example3()
{
var client = new AnimeClient(AnimeSites.Tenshi);
// Read the anime name
Console.Write("Enter anime name: ");
var query = Console.ReadLine() ?? "";
var animes = await client.SearchAsync(query);
Console.WriteLine("Animes found: ");
Console.WriteLine();
for (int i = 0; i < animes.Count; i++)
{
Console.WriteLine($"[{i + 1}] {animes[i].Title}");
}
Console.WriteLine();
// Read the anime number selected
Console.Write("Enter anime number: ");
int animeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out animeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter anime number: ");
}
animeIndex--;
Console.WriteLine();
// Read the anime episodes
var episodes = await client.GetEpisodesAsync(animes[animeIndex]);
Console.WriteLine("Episodes found: " + episodes.Count);
// Read the episode number selected
Console.Write("Enter episode number: ");
int episodeIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out episodeIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter episode number: ");
}
episodeIndex--;
Console.WriteLine();
var qualities = await client.GetEpisodeLinksAsync(episodes[episodeIndex]);
Console.WriteLine($"Qualities found: " + qualities.Count);
for (int i = 0; i < qualities.Count; i++)
{
Console.WriteLine($"[{i + 1}] {qualities[i].Resolution}");
}
Console.WriteLine();
// Read the episode number selected
Console.Write("Enter quality number: ");
int qualityIndex;
while (!int.TryParse(Console.ReadLine() ?? "", out qualityIndex))
{
Console.Clear();
Console.WriteLine("You entered an invalid number");
Console.Write("Enter quality number: ");
}
qualityIndex--;
// Download the stream
var fileName = $@"{Environment.CurrentDirectory}\{animes[animeIndex].Title} - Ep {episodes[episodeIndex].EpisodeNumber}.mp4";
using (var progress = new ConsoleProgress())
await client.DownloadAsync(qualities[qualityIndex], fileName, progress);
Console.WriteLine("Done");
Console.WriteLine($"Video saved to '{fileName}'");
Console.ReadLine();
}
public static async Task Example4()
{
var client = new AnimeClient(AnimeSites.GogoAnime);
var animes = await client.SearchAsync("", SearchFilter.NewSeason);
Console.WriteLine("Animes found: ");
Console.WriteLine();
for (int i = 0; i < animes.Count; i++)
{
Console.WriteLine($"[{i + 1}] {animes[i].Title}");
}
Console.ReadLine();
}
}
}
Example Downloading
Here is an example of using animedl
using System;
using AnimeDl;
using AnimeDl.Scrapers;
namespace AnimeApp
{
class Class1
{
public void DownloadExample(AnimeClient client, Quality quality, string fileName)
{
await client.DownloadAsync(quality, fileName);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.0
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
-
.NETFramework 4.7.2
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
- System.Text.Json (>= 6.0.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.0
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
- System.Text.Json (>= 6.0.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
- System.Text.Json (>= 6.0.4)
-
net5.0
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- BrotliSharpLib (>= 0.3.3)
- HtmlAgilityPack (>= 1.11.42)
- Nager.PublicSuffix (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.