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
古丁丁
古丁丁
Repo-cloner - Script takes user public liked repos and clone it to a local folder

Liked repos cloner Script takes user public liked repos and clone it to a local

Aleksei 2 Jun 18, 2022
Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

16 Mar 29, 2022
quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.

About quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.

Max Humber 11 Nov 10, 2022
Webb-Tracker-Bot - This is a discord bot that displays current progress of the James Webb Space Telescope.

Webb-Tracker-Bot - This is a discord bot that displays current progress of the James Webb Space Telescope.

Copperbotte 1 Jan 05, 2022
Fun telegram bot =)

Recolor Bot About Fun telegram bot, that can change your hair color. Preparations Update package lists sudo apt-get update; Make sure Git and docker-c

Just Koala 4 Jul 09, 2022
Python library for the DeepL language translation API.

The DeepL API is a language translation API that allows other computer programs to send texts and documents to DeepL's servers and receive high-quality translations. This opens a whole universe of op

DeepL 535 Jan 04, 2023
Project made to analyse movie trends

MovieTrends Project to analyse the daily movie trends from the website The Movie DataBase. The main idea is upload the results to a PostgreSQL server

Jazmín López Chacón 0 Feb 15, 2022
A fun hangman style game to guess random movie names with a short summary about the movie.

hang-movie-man Hangman but for movies 😉 This is a fun hangman style game to guess random movie names from the local database and show some summary ab

Ankit Josh 10 Sep 07, 2022
Github integration with Telegram

The Telegram bot myGit is your GiHub assistant. In your conversations with your team, you can simply insert the information about the projects you are working at.

Alexandru Buzescu 2 Jan 06, 2022
Pybt: a BaoTa panel python sdk

About Pybt is a BaoTa panel python sdk. Pybt 是一个宝塔面板API的Python版本sdk封装库。 公司很多服务器都装了宝塔面板,通过宝塔来部署、安装、维护一些服务,服务器的数量上以后,导致了维护的不方便,这个时候就想使用宝塔提供的API来开发一个运维平台

Adam Zhang 9 Dec 05, 2022
This repository are used to give class about AWS

AWSTraining This repository are used to give class about AWS by Marco Antonio Pereira Linkedin: https://www.linkedin.com/in/marcoap To see the types o

Marco Antonio Pereira 6 Nov 23, 2022
Fastest Pancakeswap Sniper BOT TORNADO CASH 2022-V1 (MAC WINDOWS ANDROID LINUX)

Fastest Pancakeswap Sniper BOT TORNADO CASH 2022-V1 (MAC WINDOWS ANDROID LINUX) ⭐️ AUTO BUY TOKEN ON LAUNCH AFTER ADD LIQUIDITY ⭐️ ⭐️ Support Uniswap

Crypto Trader 7 Jan 31, 2022
Modular Python-based Twitch bot optimized for customizability and ease of use.

rasbot Modular Python-based Twitch bot optimized for customizability and ease of use. rasbot is a Python-based Twitch bot that runs on your Twitch acc

raspy 9 Dec 14, 2022
This is a starter template of discord.py project

Template Discord.py This is a starter template of discord.py project (Supports Slash commands!). 👀 Getting Started First, you need to install Python

1 Dec 22, 2021
Sadew Jayasekara 23 Oct 21, 2022
Halcyon is a Matrix bot library created with the intention of being easy to install and use. Inspired by discord.py

Halcyon is a Matrix bot library with the goal of being easy to install and use. The library takes inspiration from discord.py and the Slack li

Wes Ring 19 Jan 06, 2023
A Telegram bot to transcribe audio, video and image into text.

Transcriber Bot A Telegram bot to transcribe audio, video and image into text. Deploy to Heroku Local Deploying Install the FFmpeg. Make sure you have

10 Dec 19, 2022
A simple discord tool that translates english to either spanish, german or french and sends it. Free to rework but please give me credit.

discord-translator A simple discord tool that translates english to either spanish, german or french and sends it. Free to rework but please give me c

TrolledTooHard 2 Oct 04, 2021
A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc.

Info-Bot A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc. Get Info Of Your And Messages , Channels , Groups ETC... How to mak

Vɪᴠᴇᴋ 23 Nov 12, 2022
Matrix trivia bot with python

Matrix-trivia-bot Getting started See SETUP.md for how to setup and run the template project. Project structure A reference of each file included in t

1 Nov 16, 2021