Scraping restricted-access websites using R's XML package

SaixCrorrex

New Member
I am trying to scrape data from a restricted-access website (which my institution's library gives me access to) using the XML package in R. The library gives me access using EZproxy. \[code\]base <- "the URL"tabs <- readHTMLTable(base)\[/code\]These lines give me the output below. There seems to be something going on with the cookies. Both browsers on my computer have cookies enabled. How do I successfully scrape data from the website? Thanks in advance!\[code\]$`NULL` V11 2 Cookies disabled3 4 Your browser currently does not accept cookies.\rCookies need to be enabled for Scopus to function properly.\rPlease enable session cookies in your browser and try again.$`NULL` V1 V2 V31 $`NULL` V11 Cookies disabled$`NULL` V11 2 3\[/code\]
 
Back
Top