scraping

Scraping in Python-read pdf

I did a scraping in Python that takes a URL of any PDF, reads and returns, but in some PDFs I'm having the problem of coming ... noticed that if there is an image, it returns me strange characters! Does anyone have any solution or idea that can help me?

Scraping with R-xpathSApply returning a list of 0

I am learning to read XML data in R. I wanted to extract the information of Brazilian football (name of the championship, p ... the code on the Globo Esporte website and had success, I imagine it has to do with the XML code itself of the Terra website.