From f35b6de5ab6d0cec38f4cbb485635518cb54e262 Mon Sep 17 00:00:00 2001 From: Penelope Gomez / Pogmommy Date: Tue, 7 Feb 2023 19:50:00 -0700 Subject: [PATCH] Update TwitToMast.js minor correction to tweetURLXPath to ensure consisitency --- TwitToMast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitToMast.js b/TwitToMast.js index f612606..891d7a6 100644 --- a/TwitToMast.js +++ b/TwitToMast.js @@ -184,7 +184,7 @@ const threadIndicatorXPath = `/div/div/div/article/div/a/div/div[2]/div/span`; / const tweetTextXPath = `//div[@data-testid="tweetText"]`; //xpath that leads to div containing all tweet text -const tweetURLXPath = `//div/a[contains(@href, 'status')]`; //xpath to tweet url +const tweetURLXPath = `//div[3]/a[contains(@href, 'status')]`; //xpath to tweet url const singleImageXPath = `//div[2]/div/img[@alt="Image"]`; //xpath to image that reveals if a tweet has one image