I'm new at Node, and I'm trying to access a google spreadsheet by pasting the URL in 'new GoogleSpreadhseet(id). When I just paste the id it works, but if I try to paste the url and put the string through a parser that returns just the id, it gives an error.
Is this an issue with the google spreadsheet node_modules, or something in my own code?