It is currently April 27th, 2024, 5:28 pm



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Get IMDB info from local text.
PostPosted: December 2nd, 2023, 7:48 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
Code:
https://www.imdb.com/title/tt17220216/


according to omdbapi
Quote:
"Metascore":"N/A","imdbRating":"N/A","imdbVotes":"N/A","imdbID":"tt17220216",


but imdb rating is 7.5 with 7.5K votes.

will it be possible to add an option. when TC fetch imdb info. in a local folder text file will saved like

tt17220216.txt

next time if TC want to fetch imdb info it will search data from local text file, if not found search omdbapi.

in this way we can modify the imdb info in case omdbapi missing info.


Top
 Profile  
Reply with quote  
 Post subject: Re: Get IMDB info from local text.
PostPosted: January 11th, 2024, 9:39 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Not sure about this.

Votes are changing all the time, they do have some cache which is not updated instantly, but it is updated, I can see the votes are now increased.

I don't see how adding that information to .txt file would be any faster than just editing the post manually after it's created, you would still need to enter all those numbers.

Usually it doesn't really matter that much, people who download really don't look at that information too much (they usually already looked it up in IMDB website itself before, or they can always click on IMDB link).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Get IMDB info from local text.
PostPosted: January 13th, 2024, 10:45 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
no, not like that.

assume TC uploaded 10 movies and got 10 imdb info.

there will be local folder, lets say TC:\imdb
inside TC:\imdb 10 imdb text file will saved using imdb id name.

tt17220216.txt
tt1106447.txt
...
and so on.

in the text file imdb info will saved. similar to keyword based. now lets say one movie has no synopsis. we can manually edit the synopsis inside the text file.

so next time if TC want to get imdb info, it will check the folder text first. if same imdb id found get the info from the text file instead of omdbapi.

if not found get info from omdbapi and save the imdb_id.txt file. so next time when run it will use the local text file to get the info.


Top
 Profile  
Reply with quote  
 Post subject: Re: Get IMDB info from local text.
PostPosted: January 13th, 2024, 7:27 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
lets say there is 100's of tv episodes. editing a lots post is much more hard work :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Get IMDB info from local text.
PostPosted: January 13th, 2024, 7:52 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Will think about it more when working on themaCreator later.

Might add something.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Get IMDB info from local text.
PostPosted: January 13th, 2024, 7:53 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
thank you, boss!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC