LoL 台版10周年活動自動輸入邀請碼

Overview

LoLTW_10Year_88Event

LoLTW 8.8 周年慶 邀請碼自動輸入

設定

  1. LoLTW_10Year_88Evnet.exe 的位置建立一個檔案 .env,內容如下
Bahamut_Discussion = https://forum.gamer.com.tw/C.php?bsn=17532&snA=674866&tnum=15422
Pagelimit = 100
startPage = -1

LCU_Token = 
CSRF_Token = 
LOL_Evnet_URL = https://bargain.lol.garena.tw/api/enter
  1. 接著要找 LCU_Token 及 CSRF_Token,此處會較為複雜,會利用圖文說明,並注意 token 請不要讓自己以外的人知道,token 等同於門(帳號)的鑰匙
  • LCU_Token 首先先開啟遊戲客戶端並開啟活動頁面,點擊下方的 "個人數據回顧"

    此時應該會開啟網頁,並到瀏覽器中找到歷史紀錄(chrome 跟 edge 都是按 ctrl+H),會發現最上面有 3 個 LOL 的網頁

    將第二個點右鍵複製連結,並在空白處貼上就好,不要貼在聊天室!!!!!

    會發現網址的格式會像是這樣

    https://datareview.lol.garena.tw/?token=febd56bf3d(打碼)
    

    把 token= 後面的字串複製貼到 .env 中的 LCU_Token 即可

  • CSRF_Token 透過取得 LCU_Token 之後就可以拿到 CSRF_Token 請先將這個網址複製到瀏覽器中

    https://bargain.lol.garena.tw/?token=
    

    token 後面所接的就是上個步驟取得的 LCU_Token
    所以這邊會變成類似

    https://bargain.lol.garena.tw/?token=febd56bf3d(打碼)
    

    在瀏覽器打開這個網址會發現就是活動的頁面,接著點網址列上的綠色鎖頭,然後點選 Cookie (Chrome 跟 edge 都大同小異)

    接著展開 bargain.lol.garena.tw > Cookie > csrftoken,之後下面的內容點滑鼠左鍵兩下就會全部反白,然後複製起來貼到 .env 中的 CSRF_Token 就可以了

爬蟲的頁面邀請碼抓取的條件為 PagelimitstartPage
Pagelimit 指的是最多會抓取幾頁的邀請碼,如預設值 100 就是抓取 100 個頁面的邀請碼

startPage 指的是最後頁面,因為最開始設計是從最新的貼文開始抓邀請碼,所以抓取頁面是倒序抓取,如預設值為 -1 時則由程式自行判斷該討論串的最後一頁

範例1: Pagelimit=100 startPage=-1,而在當時該討論串最後一頁為 800,那爬蟲就會爬取 800~700 頁的邀請碼

範例2: Pagelimit=50 startPage=200,那爬蟲就會爬取 200~150 頁的邀請碼

You might also like...
LoL Runes Recommender With Python

LoL-Runes-Recommender Para ejecutar la aplicación se debe llamar a execute_app.p

Lol qq parser - A League of Legends parser for QQ data

lol_qq_parser A League of Legends parser for QQ data Sources This package relies

EloGGs 🎮 is a 1v1.LOL Trophy Boosting Program (PATCHED)
EloGGs 🎮 is a 1v1.LOL Trophy Boosting Program (PATCHED)

EloGGs 🎮 is an old patched 1v1.LOL boosting program I developed months ago, My team made around $1000 total off of this, but now it's been patched by the developers.

LOL-banner - A discord bot that bans anybody playing league of legends

LOL-banner A discord bot that bans anybody playing league of legends This bot ha

Releases(1.0.2)
Owner
古丁丁
古丁丁
Deploy your apps on any Cloud provider in just a few seconds

The simplest way to deploy your apps in the Cloud Deploy your apps on any Cloud providers in just a few seconds ⚡ Qovery Engine is an open-source abst

Qovery 1.9k Dec 26, 2022
A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also follows the user.

GirlScript Winter of Contributing Twitter Bot A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also f

Pranay Gupta 9 Dec 15, 2022
Retrieve information from DBLP and update BibTex files automatically

Rebib TLDR: This script retrieves information from DBLP to update your BibTex files. python rebib.py --bibfile xxx.bib It first parses the bib entries

Shangtong Zhang 49 Jan 01, 2023
Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features! 🥰

CallMusicPlus69 This Repo base on! 🤗️ A CallsMusic Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features

brut✘⁶⁹ // ユスフ 6 Jun 26, 2022
A minimalistic library designed to provide native access to YNAB data from Python

pYNAB A minimalistic library designed to provide native access to YNAB data from Python. Install The simplest way is to install the latest version fro

Ivan Smirnov 92 Apr 06, 2022
How to make a QR Code of your own in python

QR CODE Bilgilendirme! " pip install qrcode pillow " kurmalısınız.

Aktali 1 Dec 24, 2021
A python script to send sms anonymously with SMS Gateway API. Works on command line terminal.

incognito-sms-sender A python script to send sms anonymously with SMS Gateway API. Works on command line terminal. Download and run script Go to API S

ʀᴇxɪɴᴀᴢᴏʀ 1 Oct 25, 2021
SpautiNoFay - A simple and beautiful music player created with Python

SpautiNoFay A simple and beautiful music player created with Python Why SpautiNo

8 Jan 19, 2022
The text based version of my App Blocker that I planning on converting to GUI soon.

App-Blocker The text based version of my App Blocker that I planning on converting to GUI soon. Currently I am just uploading the appblocker.py file,

Harsh Raj 0 Sep 13, 2022
Louis Manager Bot With Python

✨ Natsuki ✨ Are You Okay Baby I'm Natsuki Unmaintained. The new repo of @TheNatsukiBot is public. ⚡ (It is no longer based on this source code. The co

Team MasterXBots 1 Nov 07, 2021
WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community

WallAlley.bot About WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community. All data a

Mohammad KHADDAN 1 Jan 22, 2022
This is a python wrapper for "the best api in the world"

This is a python wrapper for my api api_url = "https://api.dhravya.me/" This wrapper now has async support, its basically the same except it uses asyn

Dhravya Shah 3 Dec 21, 2021
An open-source Discord Nuker can be used as a self-bot or a regular bot.

How to use Double click avery.exe, and follow the prompts Features Important! Make sure to use [9] (Scrape Info) before using these, or some things ma

Exortions 3 Jul 03, 2022
GitHub Actions Poll Mode AutoScaler (GAPMAS)

GitHub Actions Poll Mode AutoScaler, or GAPMAS, is a simple tool that helps you run ephemeral GitHub Actions self-hosted runners on your own infrastructure.

Frode Nordahl 4 Nov 04, 2022
NekoRobot-2 - Neko is An Anime themed advance Telegram group management bot.

NekoRobot A modular telegram Python bot running on python3 with an sqlalchemy, mongodb database. ╒═══「 Status 」 Maintained Support Group Included Free

Lovely Boy 19 Nov 12, 2022
ELiza music is a telegram music bot project, allow you to play music on voice chat group telegram.

❤️ 𝗘𝗹𝗶𝘇𝗮 𝗠𝘂𝘀𝗶𝗰 ❤️ Unmaintained. The new repo of @MrsElizaRobot is private. (It is no longer based on this source code. The completely rewrit

Team Eliza 2 Dec 08, 2022
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies

IMDbPY is a Python package for retrieving and managing the data of the IMDb movie database about movies, people and companies. Revamp notice Starting

Davide Alberani 1.1k Jan 02, 2023
Td-Ameritrade, Tradingview, Webhook, AWS Chalice

TDA-Autobot TDA-Autobot is an automated fire and forget trading mechanism utilizing Alex Golec's(Author) tda-api wrapper, Tradingview webhook alerts,

Kyle Jorgensen 2 Dec 12, 2021
A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.

TCG-TERM Project state: 🔧 🚧 🚧 🚧 Incomplete, In development 🚧 🚧 🚧 👷 (Keep in mind that at the moment, This project is currently undone, and wil

Amos 3 Aug 29, 2021