![pcmemes.net leaderboard image](https://private-user-images.githubusercontent.com/63672863/335403103-1bf6daf3-afbe-456d-b607-b2ae5bb6dce9.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MzA2NDEsIm5iZiI6MTcyMTczMDM0MSwicGF0aCI6Ii82MzY3Mjg2My8zMzU0MDMxMDMtMWJmNmRhZjMtYWZiZS00NTZkLWI2MDctYjJhZTViYjZkY2U5LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDEwMjU0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0MDMzMTdhZGMyOGMyZjEyMzNjZjFlZDYxNjRhMTVjN2I2MmZmNzgxNzZlOTg3YjMwZjU5Zjg0MDVlOThiZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JU4tHHACHqm8ntAZTkTPF460ybTCaAosNZjfszbq-Vk)
This project is designed to scrape upvote data and usernames from pcmemes.net, rank the users based on their upvotes, and save the data to a JSON file every 3 minutes. The project is currently in beta testing.
- Scrapes multiple pages from pcmemes.net
- Extracts usernames and upvote data
- Ranks users based on upvote scores
- Saves the ranked data to a JSON file every 3 minutes
- Python 3.x
requests
librarybeautifulsoup4
library
-
Clone the repository:
git clone https://github.com/Riotcoke123/pcmemes_leaderboard.git cd pcmemes_leaderboard
-
Install the required libraries:
pip install requests beautifulsoup4
-
Update Access Token and Client ID: Open the
vote.py
file and update theaccess_token
andclient_id
variables with your own credentials. -
Run the scraper:
python vote.py