mirror of
https://github.com/libredirect/instances.git
synced 2024-12-06 19:26:17 +01:00
21 lines
438 B
Python
21 lines
438 B
Python
import pandas
|
|
import re
|
|
|
|
|
|
def pixivFe(mightyList):
|
|
df = pandas.read_csv(
|
|
'https://gitlab.com/pixivfe/pixivfe-docs/-/raw/master/data/instances.csv?ref_type=heads')
|
|
|
|
clearnet = []
|
|
for value in df['URL']:
|
|
r = re.findall(r"\((.*?)\)", value)
|
|
if r:
|
|
clearnet.append(r[0])
|
|
|
|
mightyList['pixivFe'] = {
|
|
"clearnet": clearnet,
|
|
"tor": [],
|
|
"i2p": [],
|
|
"loki": []
|
|
}
|