The second step of the tutorial is where it takes one pdf file, and splits each page into an image. The third step is where the code iterates through all the pages of the pdf. Since you do not want all the pages, only the second, you do not need to iterate. Looking at the documentation, the convert_from_path function creates a list of images. You only want the second image, so images[1] should get you the second page. (images is the variable assigned to output of the convert_from path call).
I believe the tutorial goes over how to store it in a dataframe. If you want to save it as an excel or csv, pandas (I am assuming you are working with pandas dataframes) has two useful functions for you.
to_csv and to_excel
something like dataframe_name.to_csv("output.csv") should be what you are looking for. I just saw that the tutorial goes over this step as the last line of code in step 14,
The last thing would be doing this for multiple pdf files. If the filenames of the pdf files are predictable, you should use python to create those file names, use a for loop to iterate over them, and manually check and create the stopping condition, ie if its 1.pdf, 2.pdf etc, create a counter, convert it to string, then add ".pdf" to the end, manually check how many files to know how many times to do this. Another approach could be to use os.listdir to first get all the file names then create a for loop to iterate over all the file names. This goes before the rest of your code. The reason I explained it last, is because you should make sure your code works for one specific pdf or if you want even before that one specific image you manually converted, before putting it into this loop. The rest of your code goes inside this for loop.
The documentation for most of these functions is pretty good, and python is pretty good at telling you which line is messing up, so referencing that is always useful.
Also I noticed the tutorial is asking you to use credentials and access an online resource Google Cloud Visions. You are batch processing images, as in doing this multiple times. You computer and Googles computers might be faster than the internet, and this sometimes causes problems. Some on-line resources don't like you accessing them so fast as well, while the functions you are using most likely have some way to handle that, beware your code might be correct, but through up errors because Google is being finicky.
Best of luck to you.