From b1e450811c277126b23ad2cf741b33316b3d73d6 Mon Sep 17 00:00:00 2001 From: flameshikari Date: Mon, 26 Feb 2024 00:43:38 +0500 Subject: [PATCH 1/3] new scraper: CachyOS --- src/distros/cachyos/info.json | 4 ++++ src/distros/cachyos/logo.png | Bin 0 -> 8991 bytes src/distros/cachyos/scraper.py | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 src/distros/cachyos/info.json create mode 100644 src/distros/cachyos/logo.png create mode 100644 src/distros/cachyos/scraper.py diff --git a/src/distros/cachyos/info.json b/src/distros/cachyos/info.json new file mode 100644 index 0000000..8ba3d5b --- /dev/null +++ b/src/distros/cachyos/info.json @@ -0,0 +1,4 @@ +{ + "name": "CachyOS", + "url": "https://cachyos.org" +} diff --git a/src/distros/cachyos/logo.png b/src/distros/cachyos/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b4a49027c6586d65f52ee9505a3be62ebf5e4e2e GIT binary patch literal 8991 zcmbVy1yqz_HDAuuBh4bmm8AW9>ph=fQ964D*gA)ugi zOUED2IiL4@cb)IvyZ*D*yXM*N``f=K_p{$UYohdZ?~s!+lL7z$at(DA!>jMWUl%bU z0D$ve%E0n!K!Q;>bprqdIe%R^UitDK001Gx!N>$_qN6PhM>`9`5NKPZpqDe|3Jn0r z$a`U6@CQgN$QEhm;35m&s%r#;91yZ#V=*0J9gH&4-a*~R6?xZ3*9h+O04{|9%gcde zyri!PoRL@<$jjNu#ZB5v7W@aV^p*VUwh$Qf2L$^-7OeP7A;?5WAEbU}0VYE^eIvVo*W4!Cf6NSO>HV z=ocf*7VVCe1z(x^rw`7U-?T1nf5qu4VnSXpj1WXn_?J(A01@!tIE=fi(;vzaa3Q1< z(i!Q3b-Thseq%BAXe`>z9{nGve?R^=1y`}v(fO_8A8m1V{;k3dtLky(#$N&XN3@%f zHwGzWh;&1{yTXyG9#>{^{_+MRt?Y_~VbQKeXtdM6GNu17lR;21K@kv-v4aZ&?df*w zZxfIzFf39Qe3dm(0b!^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(z69aI55Zs&6pNOmy)B zd6EY}!9?roq$1R!u_pT6e3pLg;Ik$wSRJMB5iw`qTyE{LiQn*g zGWke;kmV#79SwCiyPCLjU^|LOBwbqb_1LwAgm*LKM09txE%1)DTAlDh$2n%j^si2+ zW=Jt3D{r_Dbr*Zp;O>YXN-r^1W7 zlc#+r9Q&jb3^}fZ7M$JR(GQ6s(nNBNk7-N>1p=;zH5R<_+QwOPU?6}5bz9CZ4_;6d zn-H>)WhBh|F;0%)>Ijr`23|A#v`F{-n8Sg8fK~#tQ@KF{#3VNy1XE1P8m+NNX3>_}_yz9^@2BOW&(08lF?b z!m}eh47S727go{Ar?L~gg1G`d!}O_fIC-H_iqHGr?S0Fc99^cG3dDNvC+6JOk?()Z z@(|m(%-m~{aG83!ZC*$$^gf>-YY`1qxU02({?hPME1;LHz~%>Kvu5krjXbzBHuY7} zy#|7HZtL4Jnst(f#h*x9P9hEpMR_#30d32EBE1rd7?GM)Eb0}GajaP=y(e};t!`Ne z6%+;O=Igs5I8&-!P9QS*hU-&vYUxF$z+Z3UpN(Og>dhKmOv4mpZ$aX!g`}R&f=aJ~ z(R;%=k~A|p=WM_tl&v=259Q8wl#L>Zw_F_YXw&e9e)$bvPt3hSPse=y_sNfVX+1A< z*}0-1WQVT2HJA#<_O6^rmjn(*12dPaWcUBW1UYtjxtqkl|C? x*44H|K30jJ$1A+U@MN6(lJ}Wx!v0;jkT*a^F2iD>;9q}X(NNV@DN(Ws{(q>Q7cKw* literal 0 HcmV?d00001 diff --git a/src/distros/cachyos/scraper.py b/src/distros/cachyos/scraper.py new file mode 100644 index 0000000..03ea0a9 --- /dev/null +++ b/src/distros/cachyos/scraper.py @@ -0,0 +1,17 @@ +from main import * # noqa + + +def init(): + + values = [] + regexp_version = re.compile(r'-(\d+)') + url_base = 'https://mirror.cachyos.org/ISO/' + + for iso_url in get.urls(url_base, recurse=True): + + iso_arch = get.arch(iso_url) + iso_size = get.size(iso_url) + iso_version = re.search(regexp_version, iso_url).group(1) + values.append((iso_url, iso_arch, iso_size, iso_version)) + + return values From 50628680c771432a9d9f4d0722ba12abce87fe17 Mon Sep 17 00:00:00 2001 From: flameshikari Date: Mon, 26 Feb 2024 00:43:45 +0500 Subject: [PATCH 2/3] new scraper: Nobara Project --- src/distros/nobara/info.json | 4 ++++ src/distros/nobara/logo.png | Bin 0 -> 6036 bytes src/distros/nobara/scraper.py | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/distros/nobara/info.json create mode 100644 src/distros/nobara/logo.png create mode 100644 src/distros/nobara/scraper.py diff --git a/src/distros/nobara/info.json b/src/distros/nobara/info.json new file mode 100644 index 0000000..ed11f8c --- /dev/null +++ b/src/distros/nobara/info.json @@ -0,0 +1,4 @@ +{ + "name": "Nobara", + "url": "https://nobaraproject.org" +} diff --git a/src/distros/nobara/logo.png b/src/distros/nobara/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..75b6884166682fa557ddc47203008733f3423485 GIT binary patch literal 6036 zcmbVQ2UJtrwhbLZ3q|QIpoS8XKq!gQK|nxy5k*M@B9Me6Ql*5BB1KS&R4Ia>^eciW zMNm2lBA_6kQWZf(1x0`Gdj0SHabFof87F6#x#yazoRu+7lHE~rexM`}008h?T9`U8 z?@_xKH#-2pA`8zMXHIx17RP7+0I$gI#RAC969)h|dWlYMbT=DoG>+`Aj=__$1odEl z3KIU{@_0xDCaG;6tK(eQ_u} z*g#+YP%xTF;7_1qDFV541w@@_VE@+M>|K^~=! zfa2hAguD)Ogw)p1MWNK>HQ*YWFt|2MLkp?_N5c_lEiL(9A28D#74L<1Fg^Us7;~lv z_My`$Xc#OgC`dg>Q=Lrph9OWW6b!Bb)6jr25l~tPiH-?|l4y#5F_;o)I4Y4sCz46> zyNnnt`3zkT%#`}45B`+jv?SWEI58sz3&v1j2zB_bPd|Zp+;1G^4At+aaXb!2@FVyW zNOT$#i};PD_>k#jnh*J3Q2*ZkCj-pb+SvTI@wZz1{ePRF(ai#xZu|WPH;F{1A&I4R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j!d zy+>n1Pe-2|SMh%g930i1q&+XB)TN3^ckOLN`AU;TuqRVU49B=Tz)np_={1qkJU<@& zHDdH1OR?1fC#njJKlU+L3P9MS(mO`n;UM`PVbzYBL)Po^Ey`AEg2Y&mqJtY!Li7Wm zfSQown>{VeF?HgR%p<^&fuafVX^TZ3a?Zo?{JPB2!FoxX4)ipvRhHuR02q*0wUAqc zR{f*A z0~+kY__CPBS9Mv8pjYmr3kCE!cE0$tB*<1oT5{;}=o{*h`bsP>)W z=g6ztgDlsM*=tjZdS17@k4GKs2_%Wfb)=eDeJGVE>3m}_5dg_ z(CqyswU=D@sL@JZ?;I!ZVGUF6uZwV1Ip-S}jGIIfmAeH>UMQc7nG~MM)APAU6Kf#lG|#xy0bwo^uDd6dXD82;_`-zr9PhRICwAQ zD#w9QfmwHwZTOyttmK97VQ^PD`Is60e?tfN>{sCks%mA9_{Yg?^%z`2R#Z; zZYOq0Om}c&T>lmA;`#}qi~)4KS<0*Gxqete2hx*$(H#a^9Vrljw0nMu*SbTt`Sxy> z Date: Mon, 26 Feb 2024 01:01:57 +0500 Subject: [PATCH 3/3] update scraper: EndeavourOS --- src/distros/endeavouros/scraper.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/distros/endeavouros/scraper.py b/src/distros/endeavouros/scraper.py index d5f2e0a..193df5e 100644 --- a/src/distros/endeavouros/scraper.py +++ b/src/distros/endeavouros/scraper.py @@ -1,14 +1,16 @@ from main import * # noqa +from datetime import datetime def init(): values = [] - regexp_version = re.compile(r'[-_](\d+[-_]\d+(_R\d+)?)') - url_base = 'https://mirror.moson.org/endeavouros/iso/' + regexp_version = re.compile(r'-(\d+\.\d+\.\d+)') + url_base = 'http://md.mirrors.hacktegic.com/endeavouros/iso/' + year = str(datetime.now().year) for iso_url in get.urls(url_base): - + if not year in iso_url: continue iso_arch = "x86_64" iso_size = get.size(iso_url) iso_version = re.search(regexp_version, iso_url).group(1).replace('-', '_')