JMovies.IMDb
1.8.6
dotnet add package JMovies.IMDb --version 1.8.6
NuGet\Install-Package JMovies.IMDb -Version 1.8.6
<PackageReference Include="JMovies.IMDb" Version="1.8.6" />
paket add JMovies.IMDb --version 1.8.6
#r "nuget: JMovies.IMDb, 1.8.6"
// Install JMovies.IMDb as a Cake Addin #addin nuget:?package=JMovies.IMDb&version=1.8.6 // Install JMovies.IMDb as a Cake Tool #tool nuget:?package=JMovies.IMDb&version=1.8.6
JMovies.IMDb
JMovies IMDb Data Provider Library
A IMDb data provider library written for .NET Standart platform that uses screen scraping to gather the data from IMDb on demand.
How to Use?
- Simple Usage: After initializing the provider, simply by passing the movie ID, its details can be fetched. This will use a the most basic scraping and will provide only the information available on the production/person page.
IIMDbDataProvider imdbDataProvider = new IMDbScraperDataProvider();
Movie movie = imdbDataProvider.GetMovie(232500);
- Detailed Scraping: GetMovie (also similar methods for other purposes) method optionally accepts a "DataFetchSettings" object. The scraper comes with a number of preset settings, by using "FullProductionDataFetchSettings"; it can be configured to visit all the related pages of the product and get the details from there and include in the movie object.
IIMDbDataProvider imdbDataProvider = new IMDbScraperDataProvider();
Movie movie = imdbDataProvider.GetMovie(232500, new FullProductionDataFetchSettings());
- Scraping in any other language: As mentioned above, scrapers behaviour can be changed by providing a settings object. Any preset can be changed and simply by setting "PreferredCulture" as the culture name of the language which should be used while scraping, the scraper can be configured to use that language to get the results. Note that movie names etc. would be coming in that language.
IIMDbDataProvider imdbDataProvider = new IMDbScraperDataProvider();
Entities.Movies.Movie movie = imdbDataProvider.GetMovie(232500, new BasicProductionDataFetchSettings
{
PreferredCulture = "tr-TR"
}); // https://www.imdb.com/title/tt0232500/
Under the hood
JMovies.IMDb uses .NET standart Http Web Requests to fetch the IMDB pages and parse them using HtmlAgilityPack+Fizzler.
Maintenance
I will personaly maintain the project as much as i can but as it uses Screen Scraping it is possible that it will require some changes along the way, so every issue report and pull request is welcome!
Code Documentation
Documentation website can be found under JMovies.IMDb GitHub Pages.
Warning
Please know that this library is not intended for bulk data scraping from IMDb and it is restricted by them. Also note that this library is not affliated with IMDB and you need to use it at your own risk/responsibility.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. 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. |
-
.NETStandard 2.0
- Fizzler.Systems.HtmlAgilityPack (>= 1.2.1)
- HtmlAgilityPack (>= 1.11.67)
- JM.Framework (>= 1.0.5)
- JMovies.IMDb.Common (>= 1.8.3)
- JMovies.IMDb.Entities (>= 1.8.4)
- System.Net.Http (>= 4.3.4)
- System.Net.Requests (>= 4.3.0)
- System.Threading.Tasks.Parallel (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.8.6 | 90 | 10/10/2024 |
1.8.5 | 337 | 11/27/2023 |
1.8.4 | 376 | 3/8/2023 |
1.8.3 | 296 | 2/26/2023 |
1.8.2 | 315 | 2/16/2023 |
1.8.1 | 290 | 2/16/2023 |
1.8.0 | 317 | 2/14/2023 |
1.7.0 | 504 | 7/28/2022 |
1.6.5 | 486 | 7/20/2022 |
1.6.3 | 503 | 5/26/2022 |
1.6.2 | 636 | 1/11/2022 |
1.6.1 | 493 | 1/11/2022 |
1.6.0 | 350 | 12/15/2021 |
1.5.5 | 462 | 2/7/2021 |
1.5.4 | 875 | 2/14/2020 |
1.5.3 | 546 | 12/9/2019 |
1.5.2 | 501 | 12/8/2019 |
1.5.1 | 513 | 12/7/2019 |
1.5.0 | 522 | 12/7/2019 |
1.4.9 | 514 | 12/7/2019 |
1.4.8 | 518 | 11/5/2019 |
1.4.7 | 503 | 11/3/2019 |
1.4.6 | 571 | 9/15/2019 |
1.4.5 | 544 | 9/11/2019 |
1.4.4 | 560 | 9/9/2019 |
1.4.3 | 563 | 9/8/2019 |
1.4.2 | 541 | 9/6/2019 |
1.4.1 | 547 | 9/2/2019 |
1.4.0 | 542 | 9/1/2019 |
1.3.7 | 535 | 9/1/2019 |
1.3.6 | 567 | 9/1/2019 |
1.3.5 | 581 | 8/25/2019 |
1.3.4 | 552 | 8/25/2019 |
1.3.3 | 545 | 8/25/2019 |
1.3.2 | 552 | 8/25/2019 |
1.3.1 | 529 | 8/25/2019 |
1.3.0 | 546 | 8/25/2019 |
1.2.2 | 561 | 8/23/2019 |
1.2.1 | 539 | 8/12/2019 |
1.2.0 | 581 | 8/11/2019 |
1.1.0 | 556 | 8/10/2019 |
1.0.0 | 528 | 8/8/2019 |