Development of a universal scraper for gaming interfaces (Python + Playwright)
Project Meta: Automate the collection of screenshots of rules and gameplay of slots from an aggregator (for example, slotslaunch.com). The script should autonomously navigate from opening the page to generating a final PDF report for each game.
Technical Requirements and Stack:
Language: Python 3.10+.
Libraries: Playwright (or Selenium),
playwright-stealthfor bypassing bot detection.Bypassing Protection: Mandatory support for bypassing Cloudflare (Turnstile/Challenge).
PDF Processing: Library
PilloworFPDF2for composing screenshots into files.
Script Workflow Algorithm:
Parsing Input Data: Reading the list of URLs from the file
game_list.html.Session Initialization: Emulating a real browser using proxies (optional) and stealth plugins.
Interacting with the Game:
Navigating to the page and waiting for the
<iframe>containing the game to load.Screenshot 1 (Splash Screen): Capturing the loading screen or rules that appear before the game starts.
Screenshot 2 (Main Game): Clicking the "Continue/Play" button, waiting for the game field to load, screenshot of the interface.
Screenshot 3...N (Rules/Paytable): Searching for menu buttons (usually icons "i", "?" or "≡"). The script should click through all pages of rules/payments. Rules may scroll or switch with buttons.
Saving: screenshots to the file
{provider}/{game_name}.pdf
Main Challenge (UI Complexity):
Since games have hundreds of different interfaces (various providers), and run in iFrames.
What You Need to Provide as a Result:
Source code of the script in Python.
File
requirements.txtwith all dependencies.A brief instruction for running (including installing Playwright browsers).
Input: game_list.html
https://slotslaunch.com/alchemy-gaming/bass-cash-monstrosity
https://slotslaunch.com/apparat-gaming/3-golden-cherries
...
Output
"alchemy-gaming/bass-cash-monstrosity-rules.pdf"
"apparat-gaming/3-golden-cherries.pdf"
...
Applications 2
-
159 1 1 Hello!
I am ready and happy to work on your project. I guarantee quality execution of the work and adherence to deadlines. I have the necessary experience for the effective implementation of your task.
I suggest discussing all the details in private messages to complete the project exactly as you need it. I will be glad to cooperate!
-
172 1 1 Good day. I am ready to complete this project; I have extensive experience in developing various applications.
-
196 I can implement such a script in Python with Playwright. I will create an automatic bypass of the iframe, screenshots of the splash, game, and rules/paytable with subsequent PDF generation. I will add requirements.txt and a launch instruction. I have experience with parsing and browser automation. I am ready to start immediately.
-
249 11 0 2 Good day, I have done a very similar task. In fact, there is not much to change, so I will manage quickly. Write to me, we will discuss everything, check and execute. In touch.
-
738 4 0 Good day. I have experience in creating various types of complex automation. I can do it. Please contact me.
-
5011 41 4 1 Good day!
I have significant experience in development with Python using Playwright for web scraping. I am ready to create a universal scraper for gaming interfaces, bypassing Cloudflare and UI complexities (iFrames, dynamic elements). I confidently work with PDF and proxies.
Message me privately, and we will clarify the details.