We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21328d commit 0e681ffCopy full SHA for 0e681ff
src/puppeteer_utils.js
@@ -108,7 +108,7 @@ const enableLogging = opt => {
108
const getLinks = async opt => {
109
const { page } = opt;
110
const anchors = await page.evaluate(() =>
111
- Array.from(document.querySelectorAll("a")).map(anchor => {
+ Array.from(document.querySelectorAll("a,link[rel='alternate']")).map(anchor => {
112
if (anchor.href.baseVal) {
113
const a = document.createElement("a");
114
a.href = anchor.href.baseVal;
0 commit comments