English > Talk

curl - solution for https

<< < (6/8) > >>

Ivek23:

--- Quote from: VVV_Easy_Programing on November 09, 2016, 04:48:31 pm ---If you arrive, in this script or in other, to need download pictures from a HTTPS link (so binary download), tell me because I think that it will be necessary make some code.
--- End quote ---

Excellent suggestion, I certainly for this proposal and for part of the code, this piece of code in the future would certainly come in handy.

Ivek23:
When Rottentomatoes_ [HTTPS] script reports that it is necessary to Advanced Search, you can help me to find a specific movie title, amongst other options also Rottentomatoes_simple_Bing_Search script to find the right movie and URL. But there are also all ends because the script can not be transferred RottenTomatoes https URL.

Until now, the URL open in browser and manually copy the PVdB.

You may be in the script to make changes to it using the curl program, the transfer url in PVdB.

The script is attached.

VVV_Easy_Programing:
It's a good idea to include a Bing search in the script for advanced search but I had tried and this is a very rare case.
A lot of films are found with the script in normal search ¿can you write me the name of the film that needs advanced search?

I think that must be another problem ¿the title of your films are in english?
In the search the script use 'title' in place of traditional 'origtitle', you can change it in the code:

--- Quote ---end else begin  //The movie URL not exist, search mode needed. Downloand the search page. 
          DownloadURL:=StringReplace(SEARCH_STR_TRUE,'%s',GetFieldValueXML('title'),True,True,False);DownloadURL:=StringReplace(SEARCH_STR_TRUE,'%s',GetFieldValueXML('title'),True,True,False);
--- End quote ---


In other side, I put a double security in the script for need advanced search:

--- Quote ---        if (0=Pos('Search Results - Rotten Tomatoes', HTML)) or (0<Pos('Sorry, no results found', HTML)) then begin      //WEB_SPECIFIC
          ShowMessage('Not results. Try again or make an advanced search out of the script.'+Chr(13)+'Write the movie URL (http) in the PVdB manually (remember separated by spaces) and run again.','Rotten Tomatoes Search Results');
 
--- End quote ---
If you have problems with easy films (for instance: godfather) you can delete '(0=Pos('Search Results - Rotten Tomatoes', HTML)) or' in order to try to reduce the false alerts.

I promise you integrate the bing search in the script but I don't have to much time now. I propose you that you finish Rottentomatoes_ [HTTPS] script and I continue the script adding the Bing search.

Ivek23:

--- Quote ---It's a good idea to include a Bing search in the script for advanced search but I had tried and this is a very rare case.
A lot of films are found with the script in normal search ¿can you write me the name of the film that needs advanced search?
--- End quote ---

Not yet, because I'm still in the initial phase of testing script.


--- Quote ---I think that must be another problem ¿the title of your films are in english?
In the search the script use 'title' in place of traditional 'origtitle', you can change it in the code:

--- Quote ---end else begin  //The movie URL not exist, search mode needed. Downloand the search page. 
          DownloadURL:=StringReplace(SEARCH_STR_TRUE,'%s',GetFieldValueXML('title'),True,True,False);DownloadURL:=StringReplace(SEARCH_STR_TRUE,'%s',GetFieldValueXML('title'),True,True,False);
--- End quote ---

--- End quote ---

This option changes work when "origtitle" in the second line, but does not work if "origtitle" field is empty or if the "origtitle" in the first line, before the change is operated. This means that this change, should not be correct.


--- Quote ---In other side, I put a double security in the script for need advanced search:

--- Quote ---        if (0=Pos('Search Results - Rotten Tomatoes', HTML)) or (0<Pos('Sorry, no results found', HTML)) then begin      //WEB_SPECIFIC
          ShowMessage('Not results. Try again or make an advanced search out of the script.'+Chr(13)+'Write the movie URL (http) in the PVdB manually (remember separated by spaces) and run again.','Rotten Tomatoes Search Results');
 
--- End quote ---
If you have problems with easy films (for instance: godfather) you can delete '(0=Pos('Search Results - Rotten Tomatoes', HTML)) or' in order to try to reduce the false alerts.
--- End quote ---

Is not necessary.


--- Quote ---I promise you integrate the bing search in the script but I don't have to much time now. I propose you that you finish Rottentomatoes_ [HTTPS] script and I continue the script adding the Bing search.
--- End quote ---

Also, when I tested it, I add in this topic. I hope as soon as possible, because currently I do not have much time due to personal matters.

Ivek23:

--- Quote ---I promise you integrate the bing search in the script but I don't have to much time now. I propose you that you finish Rottentomatoes_ [HTTPS] script and I continue the script adding the Bing search.
--- End quote ---

There is version 0.3.2.0, which has all the basic details of what is, at least to me it seems important to transfer information from a poster and movie info and of course the Cast section.

As with the search but the results are concerned, it is added to the poster and the underlying reason, because once labeled the title of the film you want to open in the browser, then a browser window such as this link.
http://www.videodb.info/forum_en/%20https://www.rottentomatoes.com/m/beverly_hills_cop

Therefore, I added a url link, which the browser opens a Web page labeled the film or the URL if one wants to make sure that the correct address searches search movie.
https://www.rottentomatoes.com/m/beverly_hills_cop

In any event, it should not be used for the transfer from informabij movie site, because it will appear the following message.

--- Quote ---IOHandler value is not valid
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version