jnrmnt / jmovies.imdb Goto Github PK
View Code? Open in Web Editor NEWJMovies IMDb Data Scraping Provider Library for .Net Standart
License: MIT License
JMovies IMDb Data Scraping Provider Library for .Net Standart
License: MIT License
MediaImagesFetchCount fetches only first page of photos, pagination not implemented
Hi,
This line of code
//Parse and verify IMDb ID Meta Tag
HtmlNode idMetaTag = documentNode.QuerySelector("meta[property='pageId']");
not working anymore always null
I think asynchronous calls are not working from synchronous calls in your project. Only tests work fine, but they are asynchronous. Can you verify that synchronous calls can work with your latest asynchronous code?
Thanks.
With the latest version, my code gets stuck in GetMovie() indefinitely.
I had to create a branch from your last synchronous release: Classic_sync_version:
PatriceDargenton@73fa884
Also there is a strange issue: Some tests are not detected by Visual Studio 2022: SpecificMoviesTests???
Describe the bug
Your test App is not working for me, null reference issue
IIMDbDataProvider imdbDataProvider = new IMDbScraperDataProvider();
JMovies.IMDb.Entities.Movies.Movie movie = await imdbDataProvider.GetMovieAsync(7456722, new BasicProductionDataFetchSettings {
PreferredCulture = "en-US"
});
e.g:
IIMDbDataProvider imdbDataProvider = new IMDbScraperDataProvider();
Movie movie = imdbDataProvider.GetMovieByName("Hunger Games");
Something like this?
Please support all methods of async
Describe the bug
When scraping William Golding, nm0325717 the library encounters a null pointer and crashes.
This happens in the latest released version, 1.8.3.
To Reproduce
var dataProvider = new IMDbScraperDataProvider();
var person = await dataProvider.GetPersonAsync(325717);
Stack trace
System.NullReferenceException: Object reference not set to an instance of an object.
at JMovies.IMDb.Helpers.People.PersonPageHelper.Parse(Person person, HtmlNode documentNode, PersonDataFetchSettings settings)
at JMovies.IMDb.Providers.IMDbScraperDataProvider.<>c__DisplayClass2_0.<AsyncGetPerson>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at JMovies.IMDb.Providers.IMDbScraperDataProvider.GetPersonAsync(Int64 id, PersonDataFetchSettings settings)
Additional information
I tried to specify PersonDataFetchSettings
with various settings, but that had no effect.
JMovies.IMDb.Providers.IMDbScraperDataProvider movie = new JMovies.IMDb.Providers.IMDbScraperDataProvider();
var movieData = movie.GetMovie(0038969);
foreach (var item in movieData.AKAs) {
list.Add(item.Name);
}
https://www.imdb.com/title/tt0038969
Its only leave me one AKA.
Where can i change the ScrapingCulture?
what about video gallery response from https://www.imdb.com/title/ttXX/videogallery/?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.