mirror of
https://github.com/gabrielkheisa/instagram-downloader.git
synced 2024-12-22 10:03:20 +07:00
Update xpath
This commit is contained in:
parent
c293cf5e67
commit
c83b842968
2
run.py
2
run.py
@ -54,7 +54,7 @@ def get_video_source(query_string):
|
||||
try:
|
||||
# Reels
|
||||
video_element = browser.find_element_by_xpath(
|
||||
"/html/body/div[2]/div/div/div[2]/div/div/div[1]/section/main/div/div[1]/article/div/div[1]/div/div/div/div/div/div/div/video"
|
||||
"/html/body/div[2]/div/div/div[2]/div/div/div[1]/section/main/div[1]/div[1]/article/div/div[1]/div/div/div/div/div/div/div/video"
|
||||
)
|
||||
except:
|
||||
# Post (image)
|
||||
|
Loading…
Reference in New Issue
Block a user