This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ast | |
import json | |
from datetime import datetime | |
import subprocess | |
user_tuples = [] | |
# Load user_tuples from the file | |
with open('legacy_verified_usernames.txt', 'r') as file: | |
data = file.read() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import requests | |
import re | |
import sys | |
import glob | |
from urllib.parse import urlsplit | |
from time import sleep | |
def expand_url(short_url): | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
idDict = {} | |
allCountryCodes = set() | |
with open("appStoreLinks.txt") as linkFile: | |
for text in linkFile: | |
#print(text) | |
splitText = text.split('/') | |
countryCode = splitText[3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itunes_app_scraper.scraper import AppStoreScraper | |
from itunes_app_scraper.scraper import AppStoreCollections | |
import sys | |
import time | |
countryCode = "kr" | |
scraper = AppStoreScraper() | |
unprocessedAppIds = set() # identified but not queried ids kept here |