Author Topic: Selenium Imdb Series and Episodes Scripts discussion  (Read 196 times)

0 Members and 1 Guest are viewing this topic.

Offline afrocuban

  • Moderator
  • *****
  • Posts: 623
    • View Profile
Selenium Imdb Series and Episodes Scripts discussion
« 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.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2830
    • View Profile
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 623
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #2 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?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2830
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #3 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 623
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #4 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...
« Last Edit: March 17, 2025, 09:42:15 am by afrocuban »

Offline afrocuban

  • Moderator
  • *****
  • Posts: 623
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #5 on: March 21, 2025, 01:35:44 pm »
Question:
Which script creates seasons in PVD?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2830
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #6 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 623
    • View Profile
Re: Selenium Imdb Series and Episodes Scripts discussion
« Reply #7 on: March 21, 2025, 09:52:07 pm »
Thanks!

 

anything