Q: Can PyAutoGUI work on Android, iOS, or tablet/smartphone apps.
A: Unfortunately no. PyAutoGUI only runs on Windows, Mac, and Linux.
import requests
from bs4 import BeautifulSoup
def trade_spiders (max_page):
page = 1
while page <= max_page:
url = 'http://new-baskino.club/page/' + str(page)
source_code = requests.get(url)
plain_text = source_code.content
soup = BeautifulSoup(plain_text, 'html.parser')
for link in soup.find_all('div', attrs={"class": "posttitle"}):
href = link.find('a')['href']
print(href)
title = link.find('a').text
print(title)
page+=1
trade_spiders(1)
import requests
from bs4 import BeautifulSoup
def trade_spiders (max_page):
page = 1
while page <= max_page:
url = 'http://new-baskino.club/page/' + str(page)
source_code = requests.get(url)
plain_text = source_code.content
soup = BeautifulSoup(plain_text, 'html.parser')
for link in soup.find_all('div', attrs={"class": "posttitle"}):
href = link.find('a')['href']
print(href)
page+=1
trade_spiders(1)