René's URL Explorer Experiment


Title: cd sex · Issue #10 · Nadyatjia/BotLinePython3 · GitHub

Open Graph Title: cd sex · Issue #10 · Nadyatjia/BotLinePython3

X Title: cd sex · Issue #10 · Nadyatjia/BotLinePython3

Description: https://github.com/search?utf8=✓&q=MGET/timeline.py++#+-*-+coding:+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json,+time,+base64++def+loggedIn(func):+++++def+checkLogin(*args,+**kwarg...

Open Graph Description: https://github.com/search?utf8=✓&q=MGET/timeline.py++#+-*-+coding:+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json,+time,+base64++def+loggedIn(func)%...

X Description: https://github.com/search?utf8=✓&q=MGET/timeline.py++#+-*-+coding:+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json,+time,+base64++def+loggedIn(func...

Opengraph URL: https://github.com/Nadyatjia/BotLinePython3/issues/10

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cd sex","articleBody":"https://github.com/search?utf8=✓\u0026q=MGET%2Ftimeline.py++%23+-*-+coding%3A+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json%2C+time%2C+base64++def+loggedIn%28func%29%3A+++++def+checkLogin%28*args%2C+**kwargs%29%3A+++++++++if+args%5B0%5D.isLogin%3A+++++++++++++return+func%28*args%2C+**kwargs%29+++++++++else%3A+++++++++++++args%5B0%5D.callback.other%28%27You+want+to+call+the+function%2C+you+must+login+to+LINE%27%29+++++return+checkLogin++++++class+Timeline%28Channel%29%3A++++++def+__init__%28self%29%3A+++++++++Channel.__init__%28self%2C+self.channel%2C+self.server.CHANNEL_ID%5B%27LINE_TIMELINE%27%5D%2C+False%29+++++++++self.tl+%3D+self.getChannelResult%28%29+++++++++self.__loginTimeline%28%29++++++++++++++def+__loginTimeline%28self%29%3A+++++++++self.server.setTimelineHeadersWithDict%28%7B+++++++++++++%27Content-Type%27%3A+%27application%2Fjson%27%2C+++++++++++++%27User-Agent%27%3A+self.server.USER_AGENT%2C+++++++++++++%27X-Line-Mid%27%3A+self.profile.mid%2C+++++++++++++%27X-Line-Carrier%27%3A+self.server.CARRIER%2C+++++++++++++%27X-Line-Application%27%3A+self.server.APP_NAME%2C+++++++++++++%27X-Line-ChannelToken%27%3A+self.tl.channelAccessToken+++++++++%7D%29+++++++++self.profileDetail+%3D+self.getProfileDetail%28%29++++++\"\"\"Timeline\"\"\"++++++%40loggedIn+++++def+getFeed%28self%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%2C+order%3D%27TIME%27%29%3A+++++++++params+%3D+%7B%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27order%27%3A+order%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Ffeed%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getHomeProfile%28self%2C+mid%3DNone%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27LINE_PROFILE_COVER%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileDetail%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27userMid%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv1%2Fuserpopup%2FgetDetail.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+updateProfileCoverById%28self%2C+objId%29%3A+++++++++params+%3D+%7B%27coverImageId%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fhome%2FupdateCover.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileCoverId%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++return+home%5B%27result%27%5D%5B%27objectId%27%5D++++++%40loggedIn+++++def+getProfileCoverURL%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++params+%3D+%7B%27userid%27%3A+mid%2C+%27oid%27%3A+home%5B%27result%27%5D%5B%27objectId%27%5D%7D+++++++++return+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Fmyhome%2Fc%2Fdownload.nhn%27%2C+params%29++++++\"\"\"Post\"\"\"++++++%40loggedIn+++++def+createPost%28self%2C+text%2C+holdingTime%3DNone%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+self.profile.mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+params%29+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27type%27%3A+%27ALL%27%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++if+holdingTime+%21%3D+None%3A+++++++++++++payload%5B\"postInfo\"%5D%5B\"holdingTime\"%5D+%3D+holdingTime+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+sendPostToTalk%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27receiveMid%27%3A+mid%2C+%27postId%27%3A+postId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2FsendPostToTalk.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createComment%28self%2C+mid%2C+postId%2C+text%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27commentText%27%3A+text%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+deleteComment%28self%2C+mid%2C+postId%2C+commentId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fdelete.json%27%2C+params%29+++++++++data+%3D+%7B%27commentId%27%3A+commentId%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+likePost%28self%2C+mid%2C+postId%2C+likeType%3D1001%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++if+likeType+not+in+%5B1001%2C1002%2C1003%2C1004%2C1005%2C1006%5D%3A+++++++++++++raise+Exception%28%27Invalid+parameter+likeType%27%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27likeType%27%3A+likeType%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+unlikePost%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcancel.json%27%2C+params%29+++++++++data+%3D+%7B%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++\"\"\"Group+Post\"\"\"++++++%40loggedIn+++++def+createGroupPost%28self%2C+mid%2C+text%29%3A+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27homeId%27%3A+mid%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28self.server.LINE_TIMELINE_API+%2B+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createGroupAlbum%28self%2C+mid%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%2C+%27type%27%3A+%27image%27%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C%27count%27%3A+%271%27%2C%27auto%27%3A+%270%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum.json%27%2C+params%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Create+a+new+album+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+deleteGroupAlbum%28self%2C+mid%2C+albumId%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.deleteContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Delete+album+failure.%27%29+++++++++return+True++++++++++%40loggedIn+++++def+getGroupPost%28self%2C+mid%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++\"\"\"Group+Album\"\"\"++++++%40loggedIn+++++def+getGroupAlbum%28self%2C+mid%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27type%27%3A+%27g%27%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbums.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+changeGroupAlbumName%28self%2C+mid%2C+albumId%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.putContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Change+album+name+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+addImageToAlbum%28self%2C+mid%2C+albumId%2C+path%29%3A+++++++++file+%3D+open%28path%2C+%27rb%27%29.read%28%29+++++++++params+%3D+%7B+++++++++++++%27oid%27%3A+int%28time.time%28%29%29%2C+++++++++++++%27quality%27%3A+%2790%27%2C+++++++++++++%27range%27%3A+len%28file%29%2C+++++++++++++%27type%27%3A+%27image%27+++++++++%7D+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId%2C+++++++++++++%27x-obs-params%27%3A+self.genOBSParams%28params%2C%27b64%27%29+++++++++%7D%29+++++++++r+%3D+self.server.getContent%28self.server.LINE_OBS_DOMAIN+%2B+%27%2Falbum%2Fa%2Fupload.nhn%27%2C+data%3Dfile%2C+headers%3Dhr%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Add+image+to+album+failure.%27%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getImageGroupAlbum%28self%2C+mid%2C+albumId%2C+objId%2C+returnAs%3D%27path%27%2C+saveAs%3D%27%27%29%3A+++++++++if+saveAs+%3D%3D+%27%27%3A+++++++++++++saveAs+%3D+self.genTempFile%28%27path%27%29+++++++++if+returnAs+not+in+%5B%27path%27%2C%27bool%27%2C%27bin%27%5D%3A+++++++++++++raise+Exception%28%27Invalid+returnAs+value%27%29+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId+++++++++%7D%29+++++++++params+%3D+%7B%27ver%27%3A+%271.0%27%2C+%27oid%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Falbum%2Fa%2Fdownload.nhn%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dhr%29+++++++++if+r.status_code+%3D%3D+200%3A+++++++++++++self.saveFile%28saveAs%2C+r.raw%29+++++++++++++if+returnAs+%3D%3D+%27path%27%3A+++++++++++++++++return+saveAs+++++++++++++elif+returnAs+%3D%3D+%27bool%27%3A+++++++++++++++++return+True+++++++++++++elif+returnAs+%3D%3D+%27bin%27%3A+++++++++++++++++return+r.raw+++++++++else%3A+++++++++++++raise+Exception%28%27Download+image+album+failure.%27%29++Desktop+version+Sign+out\u0026type=","author":{"url":"https://github.com/thailr","@type":"Person","name":"thailr"},"datePublished":"2018-12-20T03:59:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/BotLinePython3/issues/10"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:25ba3071-1335-1bf5-fe7c-46b089859ba5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8312:E9392:82FF63:B389FB:698EFECE
html-safe-nonce2ecaad9c7a3bacaf16a180034d3165b6ff7175d67840efc517c3b61c0963a22b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzEyOkU5MzkyOjgyRkY2MzpCMzg5RkI6Njk4RUZFQ0UiLCJ2aXNpdG9yX2lkIjoiMzAwNTY1NDQ1NTIzMDA3MDQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccee1792132597dee7e11f8a882532b793c909db27cdc8f81aaa90a40157ac617
hovercard-subject-tagissue:392878617
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Nadyatjia/BotLinePython3/10/issue_layout
twitter:imagehttps://opengraph.githubassets.com/014c9359d73e6bdd3258542f82f2a8c04ce962defc9d30adfd1a2f6bad9feb8f/Nadyatjia/BotLinePython3/issues/10
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/014c9359d73e6bdd3258542f82f2a8c04ce962defc9d30adfd1a2f6bad9feb8f/Nadyatjia/BotLinePython3/issues/10
og:image:althttps://github.com/search?utf8=✓&q=MGET/timeline.py++#+-*-+coding:+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json,+time,+base64++def+loggedIn(func)%...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamethailr
hostnamegithub.com
expected-hostnamegithub.com
None7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac
turbo-cache-controlno-preview
go-importgithub.com/Nadyatjia/BotLinePython3 git https://github.com/Nadyatjia/BotLinePython3.git
octolytics-dimension-user_id33796635
octolytics-dimension-user_loginNadyatjia
octolytics-dimension-repository_id123118555
octolytics-dimension-repository_nwoNadyatjia/BotLinePython3
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id123118555
octolytics-dimension-repository_network_root_nwoNadyatjia/BotLinePython3
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release29d97d94d5b31f96c01179273264722362f058e7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues/10#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNadyatjia%2FBotLinePython3%2Fissues%2F10
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNadyatjia%2FBotLinePython3%2Fissues%2F10
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Nadyatjia%2FBotLinePython3
Reloadhttps://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues/10
Reloadhttps://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues/10
Reloadhttps://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues/10
Nadyatjia https://patch-diff.githubusercontent.com/Nadyatjia
BotLinePython3https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FNadyatjia%2FBotLinePython3
Fork 115 https://patch-diff.githubusercontent.com/login?return_to=%2FNadyatjia%2FBotLinePython3
Star 97 https://patch-diff.githubusercontent.com/login?return_to=%2FNadyatjia%2FBotLinePython3
Code https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3
Issues 8 https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues
Pull requests 8 https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/pulls
Actions https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/actions
Projects 0 https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/projects
Security 0 https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/security
Insights https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/pulse
Code https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3
Issues https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues
Pull requests https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/pulls
Actions https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/actions
Projects https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/projects
Security https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/security
Insights https://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Nadyatjia/BotLinePython3/issues/10
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Nadyatjia/BotLinePython3/issues/10
cd sexhttps://patch-diff.githubusercontent.com/Nadyatjia/BotLinePython3/issues/10#top
https://github.com/thailr
https://github.com/thailr
thailrhttps://github.com/thailr
on Dec 20, 2018https://github.com/Nadyatjia/BotLinePython3/issues/10#issue-392878617
https://github.com/search?utf8=✓&q=MGET%2Ftimeline.py++%23+-*-+coding%3A+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json%2C+time%2C+base64++def+loggedIn%28func%29%3A+++++def+checkLogin%28*args%2C+**kwargs%29%3A+++++++++if+args%5B0%5D.isLogin%3A+++++++++++++return+func%28*args%2C+**kwargs%29+++++++++else%3A+++++++++++++args%5B0%5D.callback.other%28%27You+want+to+call+the+function%2C+you+must+login+to+LINE%27%29+++++return+checkLogin++++++class+Timeline%28Channel%29%3A++++++def+__init__%28self%29%3A+++++++++Channel.__init__%28self%2C+self.channel%2C+self.server.CHANNEL_ID%5B%27LINE_TIMELINE%27%5D%2C+False%29+++++++++self.tl+%3D+self.getChannelResult%28%29+++++++++self.__loginTimeline%28%29++++++++++++++def+__loginTimeline%28self%29%3A+++++++++self.server.setTimelineHeadersWithDict%28%7B+++++++++++++%27Content-Type%27%3A+%27application%2Fjson%27%2C+++++++++++++%27User-Agent%27%3A+self.server.USER_AGENT%2C+++++++++++++%27X-Line-Mid%27%3A+self.profile.mid%2C+++++++++++++%27X-Line-Carrier%27%3A+self.server.CARRIER%2C+++++++++++++%27X-Line-Application%27%3A+self.server.APP_NAME%2C+++++++++++++%27X-Line-ChannelToken%27%3A+self.tl.channelAccessToken+++++++++%7D%29+++++++++self.profileDetail+%3D+self.getProfileDetail%28%29++++++"""Timeline"""++++++%40loggedIn+++++def+getFeed%28self%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%2C+order%3D%27TIME%27%29%3A+++++++++params+%3D+%7B%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27order%27%3A+order%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Ffeed%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getHomeProfile%28self%2C+mid%3DNone%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27LINE_PROFILE_COVER%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileDetail%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27userMid%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv1%2Fuserpopup%2FgetDetail.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+updateProfileCoverById%28self%2C+objId%29%3A+++++++++params+%3D+%7B%27coverImageId%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fhome%2FupdateCover.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileCoverId%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++return+home%5B%27result%27%5D%5B%27objectId%27%5D++++++%40loggedIn+++++def+getProfileCoverURL%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++params+%3D+%7B%27userid%27%3A+mid%2C+%27oid%27%3A+home%5B%27result%27%5D%5B%27objectId%27%5D%7D+++++++++return+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Fmyhome%2Fc%2Fdownload.nhn%27%2C+params%29++++++"""Post"""++++++%40loggedIn+++++def+createPost%28self%2C+text%2C+holdingTime%3DNone%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+self.profile.mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+params%29+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27type%27%3A+%27ALL%27%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++if+holdingTime+%21%3D+None%3A+++++++++++++payload%5B"postInfo"%5D%5B"holdingTime"%5D+%3D+holdingTime+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+sendPostToTalk%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27receiveMid%27%3A+mid%2C+%27postId%27%3A+postId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2FsendPostToTalk.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createComment%28self%2C+mid%2C+postId%2C+text%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27commentText%27%3A+text%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+deleteComment%28self%2C+mid%2C+postId%2C+commentId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fdelete.json%27%2C+params%29+++++++++data+%3D+%7B%27commentId%27%3A+commentId%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+likePost%28self%2C+mid%2C+postId%2C+likeType%3D1001%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++if+likeType+not+in+%5B1001%2C1002%2C1003%2C1004%2C1005%2C1006%5D%3A+++++++++++++raise+Exception%28%27Invalid+parameter+likeType%27%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27likeType%27%3A+likeType%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+unlikePost%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcancel.json%27%2C+params%29+++++++++data+%3D+%7B%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++"""Group+Post"""++++++%40loggedIn+++++def+createGroupPost%28self%2C+mid%2C+text%29%3A+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27homeId%27%3A+mid%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28self.server.LINE_TIMELINE_API+%2B+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createGroupAlbum%28self%2C+mid%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%2C+%27type%27%3A+%27image%27%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C%27count%27%3A+%271%27%2C%27auto%27%3A+%270%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum.json%27%2C+params%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Create+a+new+album+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+deleteGroupAlbum%28self%2C+mid%2C+albumId%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.deleteContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Delete+album+failure.%27%29+++++++++return+True++++++++++%40loggedIn+++++def+getGroupPost%28self%2C+mid%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++"""Group+Album"""++++++%40loggedIn+++++def+getGroupAlbum%28self%2C+mid%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27type%27%3A+%27g%27%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbums.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+changeGroupAlbumName%28self%2C+mid%2C+albumId%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.putContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Change+album+name+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+addImageToAlbum%28self%2C+mid%2C+albumId%2C+path%29%3A+++++++++file+%3D+open%28path%2C+%27rb%27%29.read%28%29+++++++++params+%3D+%7B+++++++++++++%27oid%27%3A+int%28time.time%28%29%29%2C+++++++++++++%27quality%27%3A+%2790%27%2C+++++++++++++%27range%27%3A+len%28file%29%2C+++++++++++++%27type%27%3A+%27image%27+++++++++%7D+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId%2C+++++++++++++%27x-obs-params%27%3A+self.genOBSParams%28params%2C%27b64%27%29+++++++++%7D%29+++++++++r+%3D+self.server.getContent%28self.server.LINE_OBS_DOMAIN+%2B+%27%2Falbum%2Fa%2Fupload.nhn%27%2C+data%3Dfile%2C+headers%3Dhr%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Add+image+to+album+failure.%27%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getImageGroupAlbum%28self%2C+mid%2C+albumId%2C+objId%2C+returnAs%3D%27path%27%2C+saveAs%3D%27%27%29%3A+++++++++if+saveAs+%3D%3D+%27%27%3A+++++++++++++saveAs+%3D+self.genTempFile%28%27path%27%29+++++++++if+returnAs+not+in+%5B%27path%27%2C%27bool%27%2C%27bin%27%5D%3A+++++++++++++raise+Exception%28%27Invalid+returnAs+value%27%29+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId+++++++++%7D%29+++++++++params+%3D+%7B%27ver%27%3A+%271.0%27%2C+%27oid%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Falbum%2Fa%2Fdownload.nhn%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dhr%29+++++++++if+r.status_code+%3D%3D+200%3A+++++++++++++self.saveFile%28saveAs%2C+r.raw%29+++++++++++++if+returnAs+%3D%3D+%27path%27%3A+++++++++++++++++return+saveAs+++++++++++++elif+returnAs+%3D%3D+%27bool%27%3A+++++++++++++++++return+True+++++++++++++elif+returnAs+%3D%3D+%27bin%27%3A+++++++++++++++++return+r.raw+++++++++else%3A+++++++++++++raise+Exception%28%27Download+image+album+failure.%27%29++Desktop+version+Sign+out&type=https://github.com/search?utf8=%E2%9C%93&q=MGET%2Ftimeline.py++%23+-*-+coding%3A+utf-8+-*-+from+datetime+import+datetime+from+.channel+import+Channel++import+json%2C+time%2C+base64++def+loggedIn%28func%29%3A+++++def+checkLogin%28*args%2C+**kwargs%29%3A+++++++++if+args%5B0%5D.isLogin%3A+++++++++++++return+func%28*args%2C+**kwargs%29+++++++++else%3A+++++++++++++args%5B0%5D.callback.other%28%27You+want+to+call+the+function%2C+you+must+login+to+LINE%27%29+++++return+checkLogin++++++class+Timeline%28Channel%29%3A++++++def+__init__%28self%29%3A+++++++++Channel.__init__%28self%2C+self.channel%2C+self.server.CHANNEL_ID%5B%27LINE_TIMELINE%27%5D%2C+False%29+++++++++self.tl+%3D+self.getChannelResult%28%29+++++++++self.__loginTimeline%28%29++++++++++++++def+__loginTimeline%28self%29%3A+++++++++self.server.setTimelineHeadersWithDict%28%7B+++++++++++++%27Content-Type%27%3A+%27application%2Fjson%27%2C+++++++++++++%27User-Agent%27%3A+self.server.USER_AGENT%2C+++++++++++++%27X-Line-Mid%27%3A+self.profile.mid%2C+++++++++++++%27X-Line-Carrier%27%3A+self.server.CARRIER%2C+++++++++++++%27X-Line-Application%27%3A+self.server.APP_NAME%2C+++++++++++++%27X-Line-ChannelToken%27%3A+self.tl.channelAccessToken+++++++++%7D%29+++++++++self.profileDetail+%3D+self.getProfileDetail%28%29++++++%22%22%22Timeline%22%22%22++++++%40loggedIn+++++def+getFeed%28self%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%2C+order%3D%27TIME%27%29%3A+++++++++params+%3D+%7B%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27order%27%3A+order%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Ffeed%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getHomeProfile%28self%2C+mid%3DNone%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27postLimit%27%3A+postLimit%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27LINE_PROFILE_COVER%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileDetail%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27userMid%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv1%2Fuserpopup%2FgetDetail.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+updateProfileCoverById%28self%2C+objId%29%3A+++++++++params+%3D+%7B%27coverImageId%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fhome%2FupdateCover.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getProfileCoverId%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++return+home%5B%27result%27%5D%5B%27objectId%27%5D++++++%40loggedIn+++++def+getProfileCoverURL%28self%2C+mid%3DNone%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++home+%3D+self.getProfileDetail%28mid%29+++++++++params+%3D+%7B%27userid%27%3A+mid%2C+%27oid%27%3A+home%5B%27result%27%5D%5B%27objectId%27%5D%7D+++++++++return+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Fmyhome%2Fc%2Fdownload.nhn%27%2C+params%29++++++%22%22%22Post%22%22%22++++++%40loggedIn+++++def+createPost%28self%2C+text%2C+holdingTime%3DNone%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+self.profile.mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+params%29+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27type%27%3A+%27ALL%27%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++if+holdingTime+%21%3D+None%3A+++++++++++++payload%5B%22postInfo%22%5D%5B%22holdingTime%22%5D+%3D+holdingTime+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+sendPostToTalk%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27receiveMid%27%3A+mid%2C+%27postId%27%3A+postId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2FsendPostToTalk.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createComment%28self%2C+mid%2C+postId%2C+text%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27commentText%27%3A+text%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+deleteComment%28self%2C+mid%2C+postId%2C+commentId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fcomment%2Fdelete.json%27%2C+params%29+++++++++data+%3D+%7B%27commentId%27%3A+commentId%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+likePost%28self%2C+mid%2C+postId%2C+likeType%3D1001%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++if+likeType+not+in+%5B1001%2C1002%2C1003%2C1004%2C1005%2C1006%5D%3A+++++++++++++raise+Exception%28%27Invalid+parameter+likeType%27%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcreate.json%27%2C+params%29+++++++++data+%3D+%7B%27likeType%27%3A+likeType%2C+%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+unlikePost%28self%2C+mid%2C+postId%29%3A+++++++++if+mid+is+None%3A+++++++++++++mid+%3D+self.profile.mid+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27sourceType%27%3A+%27TIMELINE%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Flike%2Fcancel.json%27%2C+params%29+++++++++data+%3D+%7B%27activityExternalId%27%3A+postId%2C+%27actorId%27%3A+mid%7D+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%22%22%22Group+Post%22%22%22++++++%40loggedIn+++++def+createGroupPost%28self%2C+mid%2C+text%29%3A+++++++++payload+%3D+%7B%27postInfo%27%3A+%7B%27readPermission%27%3A+%7B%27homeId%27%3A+mid%7D%7D%2C+%27sourceType%27%3A+%27TIMELINE%27%2C+%27contents%27%3A+%7B%27text%27%3A+text%7D%7D+++++++++data+%3D+json.dumps%28payload%29+++++++++r+%3D+self.server.postContent%28self.server.LINE_TIMELINE_API+%2B+%27%2Fv39%2Fpost%2Fcreate.json%27%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+createGroupAlbum%28self%2C+mid%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%2C+%27type%27%3A+%27image%27%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C%27count%27%3A+%271%27%2C%27auto%27%3A+%270%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum.json%27%2C+params%29+++++++++r+%3D+self.server.postContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Create+a+new+album+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+deleteGroupAlbum%28self%2C+mid%2C+albumId%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.deleteContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Delete+album+failure.%27%29+++++++++return+True++++++++++%40loggedIn+++++def+getGroupPost%28self%2C+mid%2C+postLimit%3D10%2C+commentLimit%3D1%2C+likeLimit%3D1%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27commentLimit%27%3A+commentLimit%2C+%27likeLimit%27%3A+likeLimit%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_API%2C+%27%2Fv39%2Fpost%2Flist.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%22%22%22Group+Album%22%22%22++++++%40loggedIn+++++def+getGroupAlbum%28self%2C+mid%29%3A+++++++++params+%3D+%7B%27homeId%27%3A+mid%2C+%27type%27%3A+%27g%27%2C+%27sourceType%27%3A+%27TALKROOM%27%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbums.json%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dself.server.timelineHeaders%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+changeGroupAlbumName%28self%2C+mid%2C+albumId%2C+name%29%3A+++++++++data+%3D+json.dumps%28%7B%27title%27%3A+name%7D%29+++++++++params+%3D+%7B%27homeId%27%3A+mid%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_TIMELINE_MH%2C+%27%2Falbum%2Fv3%2Falbum%2F%25s%27+%25+albumId%2C+params%29+++++++++r+%3D+self.server.putContent%28url%2C+data%3Ddata%2C+headers%3Dself.server.timelineHeaders%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Change+album+name+failure.%27%29+++++++++return+True++++++%40loggedIn+++++def+addImageToAlbum%28self%2C+mid%2C+albumId%2C+path%29%3A+++++++++file+%3D+open%28path%2C+%27rb%27%29.read%28%29+++++++++params+%3D+%7B+++++++++++++%27oid%27%3A+int%28time.time%28%29%29%2C+++++++++++++%27quality%27%3A+%2790%27%2C+++++++++++++%27range%27%3A+len%28file%29%2C+++++++++++++%27type%27%3A+%27image%27+++++++++%7D+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId%2C+++++++++++++%27x-obs-params%27%3A+self.genOBSParams%28params%2C%27b64%27%29+++++++++%7D%29+++++++++r+%3D+self.server.getContent%28self.server.LINE_OBS_DOMAIN+%2B+%27%2Falbum%2Fa%2Fupload.nhn%27%2C+data%3Dfile%2C+headers%3Dhr%29+++++++++if+r.status_code+%21%3D+201%3A+++++++++++++raise+Exception%28%27Add+image+to+album+failure.%27%29+++++++++return+r.json%28%29++++++%40loggedIn+++++def+getImageGroupAlbum%28self%2C+mid%2C+albumId%2C+objId%2C+returnAs%3D%27path%27%2C+saveAs%3D%27%27%29%3A+++++++++if+saveAs+%3D%3D+%27%27%3A+++++++++++++saveAs+%3D+self.genTempFile%28%27path%27%29+++++++++if+returnAs+not+in+%5B%27path%27%2C%27bool%27%2C%27bin%27%5D%3A+++++++++++++raise+Exception%28%27Invalid+returnAs+value%27%29+++++++++hr+%3D+self.server.additionalHeaders%28self.server.timelineHeaders%2C+%7B+++++++++++++%27Content-Type%27%3A+%27image%2Fjpeg%27%2C+++++++++++++%27X-Line-Mid%27%3A+mid%2C+++++++++++++%27X-Line-Album%27%3A+albumId+++++++++%7D%29+++++++++params+%3D+%7B%27ver%27%3A+%271.0%27%2C+%27oid%27%3A+objId%7D+++++++++url+%3D+self.server.urlEncode%28self.server.LINE_OBS_DOMAIN%2C+%27%2Falbum%2Fa%2Fdownload.nhn%27%2C+params%29+++++++++r+%3D+self.server.getContent%28url%2C+headers%3Dhr%29+++++++++if+r.status_code+%3D%3D+200%3A+++++++++++++self.saveFile%28saveAs%2C+r.raw%29+++++++++++++if+returnAs+%3D%3D+%27path%27%3A+++++++++++++++++return+saveAs+++++++++++++elif+returnAs+%3D%3D+%27bool%27%3A+++++++++++++++++return+True+++++++++++++elif+returnAs+%3D%3D+%27bin%27%3A+++++++++++++++++return+r.raw+++++++++else%3A+++++++++++++raise+Exception%28%27Download+image+album+failure.%27%29++Desktop+version+Sign+out&type=
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.