Update TwitToMast.js
minor correction to tweetURLXPath to ensure consisitency
This commit is contained in:
parent
d5bbb7d5c2
commit
f35b6de5ab
1 changed files with 1 additions and 1 deletions
|
@ -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 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
|
const singleImageXPath = `//div[2]/div/img[@alt="Image"]`; //xpath to image that reveals if a tweet has one image
|
||||||
|
|
||||||
|
|
Reference in a new issue