Author Topic: Kinopoisk.ru https script  (Read 8641 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Kinopoisk.ru https script
« on: June 16, 2020, 08:07:03 am »
In the Russian part of the forum, they expressed a request (wish) for the possibility if they could write a Kinopoisk script for the PVD MOD version on the English part of the forum.

It will look and communicate what the chances are for the request to come true.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Kinopoisk.ru https script
« Reply #1 on: June 23, 2020, 07:20:37 am »
I did a simple kinopoisk[HTTPS] script, which is based on the IMDB_ [EN] [HTTPS] script. it works to search for results and download some information until you get a Captcha block.

kinopoisk[HTTPS] script is added.
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: 475
    • View Profile
Re: Kinopoisk.ru https script
« Reply #2 on: June 27, 2020, 02:42:38 pm »
Thank you!

Offline Pacifist

  • User
  • ***
  • Posts: 68
    • View Profile
Re: Kinopoisk.ru https script
« Reply #3 on: June 28, 2020, 09:03:10 am »
Sorry for my "French" (Google translate) ;), but neither the new script for cinema search from the English branch (pic2.jpg), nor the new update from Djek-Ural :( (it didn’t work at all for me). If you don’t touch the captcha problem, then in the previous version of the script for KP, you only need to fix the problems with loading the year of release of the film, its genre, Country of production, Original language, and most importantly, change the source of import of information FOR SERIES. They moved to the section http://www.kinopoisk.ru/ SERIES / 1198083 /. Although http://www.kinopoisk.ru/FILM/1198083/ is displayed in the search line. The problem with the series is the biggest (after captcha). None of the scripts, both from Russian and English, are branches. it’s not pulling episodes, even the new imdb_episode, which used to be made up with the TheTVDB plugin, but they changed something there too and now we see "IOHandler value is not value".
P.S. Now in the Russian branch you have to use PVD 1.0.2.7 (MOD) -> a bunch of TheMovieDB + IMDB (HTTPS) -> manually (in order to bypass the captcha) import the rating, number of votes and Russian description from the KP.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Kinopoisk.ru https script
« Reply #4 on: June 30, 2020, 10:01:45 am »
TheTVDB plugin now only works with Proxomitron, so below is the code for Proxomitron, which you will add to the default.cfg file under " [HTTP headers] ". The entire default.cfg file will also be added.

Quote
[HTTP headers]
.
.
.
In = FALSE
Out = TRUE
Key = "URL: thetvdb.com/api (Out)"
URL = "((www.|)thetvdb.com/api|st.kp.yandex.net)/"
Match = "http://\1"
Replace = "$RDIR(https://\1)"

In = TRUE
Out = FALSE
Key = "Location: thetvdb.com (In)"
URL = "(www.|)thetvdb.com/api/"
Match = "https://(st.kp.yandex.net|www.thetvdb.com/api)\1/\2"
Replace = "http://\1/\2"

In = FALSE
Out = TRUE
Key = "URL: thetvdb.com/api (Out)"
URL = "((www.|)thetvdb.com/api|st.kp.yandex.net)/"
Match = "http://\1"
Replace = "$RDIR(https://\1)"

In = TRUE
Out = FALSE
Key = "Location: thetvdb.com (In)"
URL = "thetvdb.com/"
Match = "https://(st.kp.yandex.net|thetvdb.com)\1/\2"
Replace = "http://\1/\2"

In = FALSE
Out = TRUE
Key = "URL: thetvdb.com (Out)"
URL = "(thetvdb.com|st.kp.yandex.net)/"
Match = "http://\1"
Replace = "$RDIR(https://\1)"

Here is a slightly corrected kinopoisk[HTTPS].psf version where certain bugs are fixed. Script only searches for movies.

kinopoisk[HTTPS] script is added.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Kinopoisk.ru https script
« Reply #5 on: July 01, 2020, 02:23:05 pm »
For my part, they are from today on for Kinopoisk[HTTPS] ceased's all activities. The reason for this decision are the constant Captcha blockade by Kinopoisk.ru. In the future, I no longer plan to turn off the modem every minute or every few minutes and reconnect the modem after about 20 seconds due to constant and annoying requests for Kinopoisk.ru Captcha verification.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Pacifist

  • User
  • ***
  • Posts: 68
    • View Profile
Re: Kinopoisk.ru https script
« Reply #6 on: July 03, 2020, 09:04:59 am »
TheTVDB plugin now only works with Proxomitron, so below is the code for Proxomitron, which you will add to the default.cfg file under " [HTTP headers] ". The entire default.cfg file will also be added.

Thank you, very much!

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Kinopoisk.ru https script
« Reply #7 on: July 05, 2020, 06:06:30 am »
TheTVDB plugin now only works with Proxomitron, so below is the code for Proxomitron, which you will add to the default.cfg file under " [HTTP headers] ". The entire default.cfg file will also be added.

Thank you, very much!

Welcome.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


 

anything