Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ferlyafriliyan authored Dec 29, 2023
1 parent 59a3b08 commit 2e74db1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Belum Jadi/Interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def GetTime():
return(t)

#--> Random Comment
def GenerateComment(nm='Kamu', tm=GetTime()):
def GenerateComment(nm='@Kamu', tm=GetTime()):
sapa = ['Haii','Haloo','Hii','Hello']
psan = [
'Ketika kamuu ngelakuin sesuatu yang mulia dan indah, tapi gaada seorang pun memperhatikan, jangan bersedih. Karena matahari pun tampil cantik setiap pagi meski sebagian besar penontonnya masih tertidur.',
Expand Down Expand Up @@ -122,7 +122,7 @@ def LoopScrapTimeline(self,r,dta,cursor,cli):
else: pass
except Exception as e: pass
except Exception as e: print(e)

def ScrapPost(self,r,id_post):
try:
req = bs(r.get(f'https://www.facebook.com/{id_post}',headers=headers_get(),cookies={'cookie':self.cookie},allow_redirects=True,timeout=(10,20)).content,'html.parser')
Expand Down Expand Up @@ -193,5 +193,5 @@ def CommentPost(self,r,dta,session_id,feedback_id,encrypted_tracking,cli,nama,id
#--> Trigger
if __name__ == '__main__':
mod()
IT = Main()
IT.ScrapTimeline()
Globalclass = Main()
Globalclass.ScrapTimeline()

0 comments on commit 2e74db1

Please sign in to comment.