grub-2.0
grub-2.0 copied to clipboard
Create a method or variable to access the title of a page in apeture
The aperture module takes images from the browser process. We'd like to have access to the DOM's idea of "title" and pass it back for use here (on upload): https://github.com/kordless/grub-2.0/blob/main/aperture/BrowserSession.py#L93
We are doing this because sometimes Beautiful Soup is unable to make a connection to the destination URL, as is the case with most Amazon URLs.
Ideally, this fix includes the variable "title" in the upload call, and is populated from the DOM of the browser session used to image the page.