[General Topics] HyperDimensional:
Lineage Scraper:

import sys

# Saving the reference of the standard output
sysstdout =sys.stdout
f=open('demo.txt', 'w')
sys.stdout = f

import requests
from bs4 import BeautifulSoup

url = "https://wiki.lineageos.org/devices/"

response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')

devices = soup.find_all('div', class_='name')

for device in devices:
# Check if the device has the class "discontinued hidden"
parent_classes = device.parent.attrs.get('class', [])
if 'discontinued' in parent_classes and 'hidden' in parent_classes:
continue

# Find the parent element with a data-vendor attribute
parent = device.parent
while parent is not None and not parent.has_attr('data-vendor'):
parent = parent.parent

if parent is None:
print("Parent with data-vendor attribute not found")
continue

vendor = parent['data-vendor']

device_name = device.find('span', class_='devicename').text
codename = device.find('span', class_='codename').text
print(f"{vendor} {device_name}")

sys.stdout=sysstdout
f.close()

Lineage Scraped:

10-or G
asus Zenfone 5Z (ZS620KL)
asus ZenFone 8
asus Zenfone Max Pro M1
bq Aquaris X
bq Aquaris X Pro
dynalink TV Box (4K)
essential PH-1
f-x-tec Pro¹
f-x-tec Pro¹ X
fairphone Fairphone 2
fairphone Fairphone 3
fairphone Fairphone 4
google ADT-3
google Nexus 6
google Nexus 7 2013 (Wi-Fi, Repartitioned)
google Pixel
google Pixel 2
google Pixel 2 XL
google Pixel 3
google Pixel 3 XL
google Pixel 3a
google Pixel 3a XL
google Pixel 4
google Pixel 4 XL
google Pixel 4a
google Pixel 4a 5G
google Pixel 5
google Pixel 5a
google Pixel 6
google Pixel 6 Pro
google Pixel 6a
google Pixel 7
google Pixel 7 Pro
google Pixel XL
leeco Le Max2
leeco Le Pro3 / Le Pro3 Elite
lenovo Z5 Pro GT
lenovo Z6 Pro
lg G5 (International)
lg G5 (T-Mobile)
lg G5 (US Unlocked)
lg V20 (AT&T)
lg V20 (Global)
lg V20 (Sprint)
lg V20 (T-Mobile)
lg V20 (US Unlocked)
lg V20 (Verizon)
lg V30 (T-Mobile)
lg V30 (Unlocked)
motorola edge
motorola edge 20
motorola edge 20 pro
motorola edge 2021
motorola edge 30
motorola edge s / moto g100
motorola moto e5 plus (XT1924-1/2/4/5)
motorola moto e5 plus (XT1924-3/9)
motorola moto e5 plus (XT1924-6/7/8)
motorola moto g 5G / one 5G ace
motorola moto g 5G plus / one 5G
motorola moto g5
motorola moto g5s
motorola moto g6 plus
motorola moto g7
motorola moto g7 play
motorola moto g7 plus
motorola moto g7 power
motorola moto x (2014)
motorola moto x4
motorola moto z
motorola moto z play
motorola moto z2 force
motorola moto z2 play
motorola moto z3 play
motorola one action
motorola one fusion+
motorola one power
motorola one vision / p50
motorola one zoom
nextbit Robin
nokia Nokia 6.1 (2018)
nokia Nokia 6.1 Plus
nubia Mini 5G
nubia Z17
nubia Z18 Mini
nvidia Jetson (Nano / Nano 2GB) [Android TV]
nvidia Jetson (Nano / Nano 2GB) [Tablet]
nvidia Shield TV (2015 / 2015 Pro / 2017 / 2019 Pro) / Jetson TX1 [Android TV]
nvidia Shield TV (2015 / 2015 Pro / 2017 / 2019 Pro) / Jetson TX1 [Tablet]
oneplus OnePlus 3 / 3T
oneplus OnePlus 5
oneplus OnePlus 5T
oneplus OnePlus 6
oneplus OnePlus 6T
oneplus OnePlus 7
oneplus OnePlus 7 Pro
oneplus OnePlus 7T
oneplus OnePlus 7T Pro
oneplus OnePlus 8
oneplus OnePlus 8 Pro
oneplus OnePlus 8T
oneplus OnePlus 9
oneplus OnePlus 9 Pro
oneplus OnePlus 9R
oneplus OnePlus Nord
oneplus OnePlus Nord N200
oneplus OnePlus One
razer Phone
razer Phone 2
samsung Galaxy A5 (2017)
samsung Galaxy A52 4G
samsung Galaxy A7 (2017)
samsung Galaxy A72
samsung Galaxy Note 3 LTE (N9005/P)
samsung Galaxy Note 3 LTE (N9008V)
samsung Galaxy Note 3 LTE (N900K/L/S)
samsung Galaxy Note 3 LTE (N900T/V/W8)
samsung Galaxy Note 9
samsung Galaxy Note10
samsung Galaxy Note10+
samsung Galaxy Note10+ 5G
samsung Galaxy S III Neo (Dual SIM)
samsung Galaxy S III Neo (Samsung Camera)
samsung Galaxy S III Neo (Sony Camera)
samsung Galaxy S10
samsung Galaxy S10 5G
samsung Galaxy S10+
samsung Galaxy S10e
samsung Galaxy S4 (GT-I9505, SGH-I337M, SGH-M919)
samsung Galaxy S4 (SCH-I545)
samsung Galaxy S4 (SCH-R970, SPH-L720)
samsung Galaxy S4 (SGH-I337)
samsung Galaxy S4 Active
samsung Galaxy S4 Value Edition (GT-I9515/L)
samsung Galaxy S5 Active (G870F)
samsung Galaxy S5 LTE (G9006V/8V)
samsung Galaxy S5 LTE (G900AZ/S902L)
samsung Galaxy S5 LTE (G900F/M/R4/R7/T/V/W8)
samsung Galaxy S5 LTE (G900I/P)
samsung Galaxy S5 LTE (G900K/L/S)
samsung Galaxy S5 LTE (SC-04F/SCL23)
samsung Galaxy S5 LTE Duos (G9006W/8W)
samsung Galaxy S5 LTE Duos (G900FD/MD)
samsung Galaxy S9
samsung Galaxy S9+
samsung Galaxy Tab A 8.0 (2019)
samsung Galaxy Tab S5e (LTE)
samsung Galaxy Tab S5e (Wi-Fi)
samsung Galaxy Tab S6 Lite (LTE)
samsung Galaxy Tab S6 Lite (Wi-Fi)
shift SHIFT6mq
sony Xperia 1 II
sony Xperia 10
sony Xperia 10 Plus
sony Xperia 5 II
sony Xperia Tablet Z2 LTE
sony Xperia Tablet Z2 Wi-Fi
sony Xperia XA2
sony Xperia XA2 Plus
sony Xperia XA2 Ultra
sony Xperia XZ2
sony Xperia XZ2 Compact
sony Xperia XZ2 Premium
sony Xperia XZ3
sony Xperia Z2
sony Xperia Z3
sony Xperia Z3 Compact
xiaomi Xiaomi 11 Lite 5G NE / 11 Lite NE 5G / Mi 11 LE
xiaomi Mi 10 Lite 5G
xiaomi Mi 10T / Mi 10T Pro / Redmi K30S Ultra
xiaomi Mi 10T Lite / Mi 10i / Redmi Note 9 Pro 5G
xiaomi Mi 11 Lite 5G
xiaomi Mi 11i / Redmi K40 Pro / Redmi K40 Pro+ / Mi 11X Pro
xiaomi Mi 5
xiaomi Mi 5s Plus
xiaomi Mi 6
xiaomi Mi 8
xiaomi Mi 8 Explorer Edition
xiaomi Mi 8 Pro
xiaomi Mi 8 SE
xiaomi Mi 9 SE
xiaomi Mi A1
xiaomi Mi CC 9 / Mi 9 Lite
xiaomi Mi CC9 Meitu Edition
xiaomi Mi MIX 2
xiaomi Mi MIX 2S
xiaomi Poco F1
xiaomi POCO F2 Pro / Redmi K30 Pro / Redmi K30 Pro Zoom Edition
xiaomi POCO F3 / Redmi K40 / Mi 11X
xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max / Redmi Note 10 Lite
xiaomi POCO X3 NFC
xiaomi POCO X3 Pro
xiaomi Redmi 3S / 3X / 4 (India) / 4X / [Note 5A / Y1 - Prime]
xiaomi Redmi 4A / 5A / [Note 5A / Y1 - Lite]
xiaomi Redmi 7
xiaomi Redmi 7A / 8 / 8A / 8A Dual
xiaomi Redmi 9
xiaomi Redmi Note 8 / 8T
xiaomi Redmi Note 9
zuk Z2 Plus