| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/tmp/ |
Upload File : |
from playwright.sync_api import sync_playwright
URL='https://seaside.pacim.de/day-list.php?date=2026-06-27&h=ae6c96c6793e9dae3d10aa1e4ed3be55&parking=halle,aussen,valet&columns=name,type,time,dur'
with sync_playwright() as pw:
b = pw.chromium.launch()
pg = b.new_page(viewport={'width':420,'height':900}, device_scale_factor=3)
pg.goto(URL, wait_until='networkidle')
pg.wait_for_timeout(900)
# crop: clip to first 6 rows region
rows = pg.query_selector_all('.tbl tbody tr')
if rows:
box0 = rows[0].bounding_box()
box5 = rows[min(5,len(rows)-1)].bounding_box()
clip = {'x':0,'y':box0['y']-46,'width':420,'height':(box5['y']+box5['height'])-(box0['y'])+50}
pg.screenshot(path='/tmp/mobile_plates_top.png', clip=clip)
b.close()