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
古丁丁
古丁丁
This wrapper now has async support, its basically the same except it uses asyncio

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 5 Mar 10, 2022
2b2t Priority queue discord bot announcer

2b2t Priority queue discord bot announcer Commands !prioq - Checks the priority queue length and sends it. !start - Starts a loop that sends the sta

Gumi 5 Jun 06, 2022
pokemon-colorscripts compatible for mac

Pokemon colorscripts some scripts to print out images of pokemons to terminal. Inspired by DT's colorscripts compilation Description Prints out colore

43 Jan 06, 2023
A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.

Inline Images Sometimes ASCII art is not enough. Sometimes an image says more than a thousand words. This Sublime Text plugin can display images inlin

Andreas Haferburg 8 Jul 01, 2022
Python app to notify via slack channel the status_code change from an URL

Python app to notify, via slack channel you choose to be notified, for the status_code change from the URL list you setup to be checked every yy seconds

Pedro Nunes 1 Oct 25, 2021
Python lib to control HottoH based stove devices

Project desciption This library can be used to discuss with HootoH based stove devices Actually tested and validated with a CMG Drum stove. To use thi

3 May 16, 2022
Asynchronous wrapper для Gismeteo.ru.

aiopygismeteo Асинхронная обёртка для Gismeteo.ru. Синхронная версия здесь. Установка python -m pip install -U aiopygismeteo Документация https://aiop

Almaz 6 Dec 08, 2022
Python wrapper library for World Weather Online API

pywwo Python wrapper library for World Weather Online API using lxml.objectify How to use from pywwo import * setKey('your_key', 'free') w=LocalWeat

World Weather Online 20 Dec 19, 2022
A Telegram bot to download from Youtube server.

IDN-YoutubeDL-Bot A Telegram bot to download from Youtube server. Configs 📖 API_ID - Your APP ID. Get it from my.telegram.org API_HASH - Your API_HAS

IDNCoderX 4 Dec 02, 2022
Unofficial Python API client for Notion.so

notion-py Unofficial Python 3 client for Notion.so API v3. Object-oriented interface (mapping database tables to Python classes/attributes) Automatic

Jamie Alexandre 3.9k Jan 03, 2023
Full-featured Python interface for the Slack API

This repository is archived and will not receive any updates It's time to say goodbye. I'm archiving Slacker. It's been getting harder to find time to

Oktay Sancak 1.6k Dec 13, 2022
Python library to interact with a Z-Wave JS server.

zwave-js-server-python Python library for communicating with zwave-js-server. Goal for this library is to replicate the structure and the events of Z-

Home Assistant Libraries 54 Dec 18, 2022
Discord Rich Presence for Team Fortress 2

TF2 Rich Presence Discord Rich Presence for Team Fortress 2 Detects current game state, queue info, playtime, and more Configurable, reliable, and per

Kataiser 33 Dec 31, 2022
The official Python client library for the Kite Connect trading APIs

The Kite Connect API Python client - v3 The official Python client for communicating with the Kite Connect API. Kite Connect is a set of REST-like API

Zerodha Technology 756 Jan 06, 2023
A simple API wrapper for Discord written in Python.

AIOCord This project is work in progress not for production use A simple asynchronous API wrapper around Discord API written in Python. Inspiration Th

Izhar Ahmad 3 Dec 07, 2021
A Telegram bot that searches for the original source of anime, manga, and art

A Telegram bot that searches for the original source of anime, manga, and art How to use the bot Just send a screenshot of the anime, manga or art or

Kira Kormak 9 Dec 28, 2022
A simple script that can be used to track real time that user was online in telegram

TG_OnlineTracker A simple script that can be used to track real time that user was online in telegram Join @DaisySupport_Official 🎵 for help 🏃‍♂️ Ea

Inuka Asith 15 Oct 23, 2022
The worst but simplest webhook bot for GitHub and Matrix.

gh-bot gh-bot is maybe the worst (but simplest) Matrix webhook bot for Github. Example of commits: Example of workflow finished: Setting up Server You

Jae Lo Presti 4 Aug 18, 2022
A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime.

AniKimi API A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime The v2 of gogoanimeapi (depreciated) Made with JavaScript and Py

17 Dec 09, 2022
Decryption utility for PGP Whole Disk Encryption

wdepy: Decryption and Inspection for PGP WDE Disks This is a small python tool to inspect and decrypt disk images encrypted with PGP Whole Disk Encryp

Brendan Dolan-Gavitt 17 Oct 07, 2022