Skip to content

Commit

Permalink
idk why im so fucking stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggoon committed Dec 5, 2023
1 parent 3b73a31 commit 5ab4a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tiktok/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def start(self, db):
self.goto_hashtag(HASHTAGS[i])
sleep(5)
while counter < 15:
author = self.driver.find_element(By.XPATH, "//div[contains(@data-e2e, 'browse-username')]").text
author = self.driver.find_element(By.XPATH, "//span[contains(@data-e2e, 'browse-username')]").text
description = self.driver.find_element(By.XPATH, "//div[contains(@data-e2e, 'browse-video-desc']").text
likes = self.driver.find_element(By.XPATH, "//strong[contains(@data-e2e, 'browse-like-count')]").text
comments = self.driver.find_element(By.XPATH, "//strong[contains(@data-e2e, 'browse-comment-count')]").text
Expand Down

0 comments on commit 5ab4a0e

Please sign in to comment.