userHG

1

votes
1

answer
15

views

Get href links & Text in python loop

I need to scrape informations from the apple store, I have a hashmap hashmap_genre_link with genre and a URL ( {'Games': 'https://itunes.apple.com/us/genre/ios-games/id6014?mt=8' ; ...} ), I want to create for each key an other hashmap with iOS apps (text) and app url as a value : games_apps:{'Pokem...
userHG
1

votes
0

answer
26

views

Pop up problem when scraping Androidy Store BeautifulSoup / Selenium

I have a problem to detect a button with Selenium when a confirmation window pops-up. I'm scraping the android store to automate an app downloading everything works but when I have to confirm by clicking the Install button I can't do the same code that I used to just before. driver = webdriver.Safar...
userHG
1

votes
1

answer
178

views

Loop in a bash script with adb command [duplicate]

This question already has an answer here: Loop to find an app from a file and pull it with adb shell 2 answers I'm beginning with bash ans I'm trying to loop in a shell script to pull different apk's from my android device. I've got a file with apk's paths apkpaths.txt /data/app/com.naver.linewebto...
userHG
1

votes
1

answer
38

views

Scraping informations with Beautiful Soup in same name tags

I want to scrape informations from an html page with Beautiful Soup in Python and all the information I need are in a same name tag> How can I differentiate each information I need ? All the information I need are in different class='hAyfc' tags.
userHG
1

votes
2

answer
414

views

AttributeError: 'NoneType' object has no attribute 'text' Python

I'm trying to read a file with python and get each line as a parameter for a function. I've got a AttributeError: 'NoneType' object has no attribute 'text' error and I don't understand how to fix it. Here is my code from requests import get from bs4 import BeautifulSoup file = open('applications.tx...
userHG
1

votes
2

answer
65

views

Loop to find an app from a file and pull it with adb shell

I'm beginning with bash, I'm writing a script that read a file, search an information in an android device for each line (each line of the file is the name of an app installed on the device) #!/bin/bash filename='$1' while read -r line do name='$line' echo 'App : - $name' | adb shell pm path $name d...
userHG
1

votes
2

answer
43

views

Scraping Android Store

I'm trying to scrape Android Store pages with Beautiful Soup in order to have a file that contains a list of packages. Here is my code : from requests import get from bs4 import BeautifulSoup import json import time url = 'https://play.google.com/store/apps/collection/topselling_free' response = get...
userHG
1

votes
1

answer
41

views

Scraping More than rendered Data with Beautiful Soup

I'm scraping apps names from Google Play Store and for each URL as input I get only 60apps (because the website rendered 60apps if the user doesn't scroll down). How is it working and how can I scrape all the apps from a page using BeautifulSoup and/or Selenium ? Thank you Here is my code : urls = [...
userHG
2

votes
3

answer
106

views

Scraping Google Play Store BeautifulSoup / Selenium

I'm scraping data from the Android Store (Google Play Store) and I want to automate the downloading process on a connected phone. I'm trying to automate the click on the 'Install' button in an app page with Selenium but I can't click on it Here is my python code : from selenium import webdriver driv...
userHG
2

votes
1

answer
72

views

'None' Attribute while parsing with Beautiful Soup

I'm beginning with Python and BeautifulSoup. I want to scrape a website with BS and I don't understand my code result and the use of find and find_all. I want to get an URL in an href tag. . SuperAwesome LTD Here is my python code : developer_link = bs.find('div',{'class':'xBRiJc'}) print(develop...
userHG