Personal Video Database

English => Development => PVD Python Scripts => Topic started by: afrocuban on March 16, 2025, 01:01:50 pm

Title: Selenium Imdb Series and Episodes Scripts discussion
Post by: afrocuban on March 16, 2025, 01:01:50 pm
I must have made a mistake, I just didn't notice it (I still have a lot of things to sort out for my mother's passing, so some details are missing and I don't notice them). I'll fix that and see if it works.

I fixed it now and it works perfectly.

Great! Enjoy it!

May I ask you a question? Can you describe the flow of adding series, seasons and episode links? Which script does which task? I'm almost done integrating series script into movie script, but I am stuck at the moment what generates seasons and what generates  episodes in each season, what provides links to the episodes and so on. Thank you in advance.
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: Ivek23 on March 16, 2025, 02:44:01 pm
The links below have descriptions of what you're looking for.

IMDB Movie(episode list) (a) script

https://www.videodb.info/forum_en/index.php/topic,4134.msg22042.html#msg22042

Imdb Movie(episodelist) script

https://www.videodb.info/forum_en/index.php/topic,4134.msg22044.html#msg22044

https://www.videodb.info/forum_en/index.php/topic,4134.msg22066.html#msg22066



Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: afrocuban on March 16, 2025, 05:50:56 pm
Thanks ivek. I already looked at those scripts of course, but what I don't get is is how PVD knows when first season is finished. When Function ParsePage_IMDBMovieSEASON1 stops with AddEpisode, and Function ParsePage_IMDBMovieSEASON2 starts?
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: Ivek23 on March 17, 2025, 07:38:36 am
Thanks ivek. I already looked at those scripts of course, but what I don't get is is how PVD knows when first season is finished. When Function ParsePage_IMDBMovieSEASON1 stops with AddEpisode, and Function ParsePage_IMDBMovieSEASON2 starts?

Actually, it's a very simple definition.

When the website runs out of episode data when downloading episodes for season 1, the ParsePage_IMDBMovieSEASON1 function stops with AddEpisode and the ParsePage_IMDBMovieSEASON2 function starts to download episodes for season 2, and so on, until there are no more seasons for a particular series. Therefore, it is important to know how many seasons a particular series has, which is why several scripts were created at that time to download different numbers of seasons for series.

For example, one series has only one season, or it has only one season and also an unknown season, or several seasons and in addition an unknown season has been added. There are also series with only an unknown season and a larger number of episodes.
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: afrocuban on March 17, 2025, 09:40:34 am
Thanks for the explanation. I'm looking for ways how to automate this without limiting on number os seasons and episodes...
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: afrocuban on March 21, 2025, 01:35:44 pm
Question:
Which script creates seasons in PVD?
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: Ivek23 on March 21, 2025, 05:56:24 pm
Question:
Which script creates seasons in PVD?

Imdb Movie(episodelist) [HTTPS] script or Imdb Movie(episodelist) [HTTPS] x number and sea tag before the word script.
Title: Re: Selenium Imdb Series and Episodes Scripts discussion
Post by: afrocuban on March 21, 2025, 09:52:07 pm
Thanks!