From 46f614c50005c97c0935b7c437417bd16453d66b Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 5 Aug 2021 21:03:58 +0700 Subject: [PATCH] Remove excluder input file after proceed --- __pycache__/crawler.cpython-37.pyc | Bin 0 -> 2927 bytes __pycache__/crawler.cpython-39.pyc | Bin 0 -> 3180 bytes __pycache__/excluder.cpython-37.pyc | Bin 0 -> 975 bytes __pycache__/excluder.cpython-39.pyc | Bin 0 -> 1127 bytes excluder.py | 4 +++- 5 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 __pycache__/crawler.cpython-37.pyc create mode 100644 __pycache__/crawler.cpython-39.pyc create mode 100644 __pycache__/excluder.cpython-37.pyc create mode 100644 __pycache__/excluder.cpython-39.pyc diff --git a/__pycache__/crawler.cpython-37.pyc b/__pycache__/crawler.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8076c9b04f5a995efa1940cce910c52c983fec8e GIT binary patch literal 2927 zcmaJ@U2hvj6rI^`Z$2AJnx+uk5+s(EBuEu1ZBzwXKuBPqK~1sLMqAIuIN5le*>#gz zyF3uY1FBT`2hJle{1x6uh!>AeNH!y+;9z%5?V+2VhpV- z#>E6$PfUs_v?amUSup(^E3-ax<)OxI@YH<|G%_J6^@QG5JHb^^V z+~AY=OX}1pV)UcOC0zO(6uk`5%h{p9S;o5tou@EzW82L5wzX~V81k#k$+<8Nji(ER zc`%zBx7q#4!phCAn_G1Hy{j9DfM8#C9%OGa-`wW}Jiqr@LOR8sWphQ+7)> znwj!swAYT(ELCPb%Bo{&7G~{qvzCacYLiV7upMP3t*EK&ec8yOz^?0;uG20O~qGk&F9INvq z{1Ls?4SJVD?}CSS1ooV+tr_H2I#d0#AeQAN`YSFK-w(VVf3wGL^!QqjFLtbQxw76d z$yjS^dEVm}756)nmoJyocC8kr=~g?w7?dO(R8GJsOGcqke%gu~S=?wM@IJthS-RiI zzEgIZ$wo_3?3A^gGyp~|PSPl_s>d5jH}|6$6prK+IobU+ENVt^DGiSBDqPbU7{)z- zF{=TY;q&OpOBfx1Li-$m@&G9~49X#Y8lOTU3?lBq-OS4D+&Bbupy?-tnK@loKmu|j zH_x*pliF3LNA3R{bw)?`mWJuA!FB=mJW{~wdVMh=&<{17r_f=q{xPT}0#%HW(A3Ss zuCv0?>r7&uHIU|7PP<(x+=Fs%<8H3-axZsx9QiDFyMFG0NJioAJ=3Td*6K(3>M3d)%LC3tY^p0YkQu$Wp!!JHA zFD-WbliTv5d}SCj5*kXTbzJFLm^vik{&)dd&iO3+)!4I06g%cysjn##7|K{$Q5KSX zcZ4%Ne>HBT8Ti$@8PIyPxWhW-0hMY=b7?hBYGIt-#LbEGDCau{Wy6CW&n59Lm^e)V zIgbG_oiae#GHli(Wya7QL*gcFKUBUJAkA#~206PjYQG2iT^Vla3Jm26iPsGBWtJ}@ zXBIHxLC`FnKR$ZXkTuFEAGsvo$DBbXndl5M=^;A9nRFs=nE{?a+zydRLp&w{BzZfl zv(17R@{1TaVvREvj~a6tWKRSsq3GPxGa+g71X}bb-~|h#F$^lgd2ErToFzLhyo`+ z!1$n2()2;d{z4}Mkx>(jr!!O`yBw7O)u1qk!+=Wpq6gIqYs78%7YvLjDFncK$$~XSn99j)I;u6huvb&3tclHxcbPx=A0gy6{3cARV6L N`QDg!!7F)_{{Sj%f3yGq literal 0 HcmV?d00001 diff --git a/__pycache__/crawler.cpython-39.pyc b/__pycache__/crawler.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ebe3794f40b1f09ae7229dc612a561df50bcd5c GIT binary patch literal 3180 zcmaJ@&yU+g6rQoij^q8&ZGlptloS>uw`IFU2t-?|B1#blfC?@he05Heg} zKAemHz}sK+F?l)oxQWMn03n&=32T%sZ*cqVG#u$j_bb+LrH~$4A$?gv>&ZY?(fTr! zb7(7aUM`>wdQhsn{4@zswn zcXhgKod?y!;z+WOW@cd=1{d)MWxvvh@-4_7S+1OsO|f#BBr3o_m5Bxx+M-K({R z6W@!1!t3gGCo2N2wtC8Brf^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wTF*m$#c}<<$+}xOl2=oH|XSUj}6FQl)?NU4CaET If@-k%FADI35C8xG literal 0 HcmV?d00001 diff --git a/__pycache__/excluder.cpython-37.pyc b/__pycache__/excluder.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b012b92eb9f20ea10e0782be71c2eac1590bbc95 GIT binary patch literal 975 zcmZuvF>ljA6ux(Nb{wZERS2a+g&0^efCUQ+LJ0OEU;t&QtlXt?aqQ@PX+W~4u=g)G zZ2T2|!mUg!%!rBi>@=k<7rpPjyZ7a@?|pvR?}rT6?_a(6wP5TAZ7vqa;sr+W06{SY zDI2#L#-O+oU)Y!{sXWX=!8mW<4uB!xf zw`8QO7~a7$I5xdJWZ_gmL{><$P})42e|92Pibh=w5E$&hKF0k`J^-_ir&~`txY>I0 z9XARpPQI+*e76#%AXh4WWy)}+Cog*?SNtimOI}LKjlTltz1Jw=`F|WEKL(X&Md{VD zam>F|+$sz!5BtROZ#d@Hoz^i+-Zg$+c*hJ)!gvJq8ID5ZQ%%=4bZ^rm*dgc>>=N8U za6B)ZZ}cob)1!{r!=rI;GiG&+MoSgj*zxIn>{0c^(74TQ0&=c}J6O2@4LL@?H0c)i z5Ew`ZVbDYX0eUms`V)dVM8-&(15E7;k!8*4Khn)ZTK#9UTrE=l9FSJf{ZNw!y}v*2 B*0BHp literal 0 HcmV?d00001 diff --git a/__pycache__/excluder.cpython-39.pyc b/__pycache__/excluder.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a9c74ab039f77b389d4a3314d133b6ff19b9aa9 GIT binary patch literal 1127 zcmZuwO>Yx15S_8T$tGz_RX$Z!JyuQC4~meG5JDjCy>LK8m8w+1f2Al@vkXbgf!mJ$ZrV>C@IHC+-y~%6l0vgSWKXj z?KARi=g;ew%! z3**#f7N<_;rf@AjPU6($uI&$}>t^3Z!^Bvp^2`=p<-$1aXIF80;et3FTo(?{UEpJX zfW1dI{^u}yetI;p*`?_hN7kg-$EYwz=W$XPn;%?7AB;UUpZdwQHuiAv*~v(2asuQV z1b{2JN8{;i-bed@b{9l$(#C(0caUs?m0-z6c=M=|rDT~aQIlwI;nJYQg?Lqq@6E@T zLW^gVwG^e|*;_=CSew2g?Ju>(xA`2N!vb$rK_Savth_B6waPzhEUvU&1;k-yV~H&` zj^QijYYWWAxVdNyu>3-7z`*aO8`=i1`AThzp~JAku*$H;aEGAVwCgnWIy33?897Jk zsEC|6AM^rVJ+UmIz01H>n8JNpxsXIYBM%r(=-)P=!Zz;s5n@Ps@6I$oM7v2*T{*4J c`umN!oId+B@r$cWUnk}z`2ceN{zcgN3)>gm5dZ)H literal 0 HcmV?d00001 diff --git a/excluder.py b/excluder.py index 3ad049d..181bcfe 100644 --- a/excluder.py +++ b/excluder.py @@ -1,3 +1,4 @@ +import os import crawler def add(incoming,input): @@ -25,4 +26,5 @@ def add_file(incoming,excluded_in): lines = set(f.readlines()) with open(incoming, 'w') as f: f.writelines(set(lines)) - crawler.sort(incoming) \ No newline at end of file + crawler.sort(incoming) + os.remove(excluded_in) \ No newline at end of file