Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def likes():
- browser.get('https://www.instagram.com/explore/tags/newyork/') #hasztag
- browser.find_element_by_xpath('/html/body/div[1]/section/main/article/div[2]/div/div[1]/div[1]/a/div').click() #wybiera zdjecie
- for i in range(10):
- browser.find_element_by_xpath('/html/body/div[5]/div[2]/div/article/div[3]/section[1]/span[1]/button').click() #serduszko
- browser.find_element_by_xpath('/html/body/div[5]/div[2]/div/article/header/div[2]/div[1]/div[2]/button').click() #follow
- browser.find_element_by_xpath('/html/body/div[5]/div[1]/div/div/a[2]').click() #przewin nastepne zdjecie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement