Forum » Programiranje » Parse neko stran
Parse neko stran
BRBR ::
Tole lahko v browserju odpreš zmeraj normalno, spodaj je submit forma/knof 'List of species'.
Ne vem kaj to pošlje poleg tega kje je target, nič ?
link1
target link tega knofa, če poskusiš tole odpret v ravno odprtem browserju, ne dela:
link2
če z mojim httpclent, odprem link1 in nato link2 (v isti seji, predvidevam), deluje.
Katerikoli link na link2, klik, npr:
https://italic.units.it/flora/index.php...
tudi ne deluje če ga odpreš v ravno zagnanem browserju.
če se grem z mojim programom
nekako deluje, do link3, s tem, da link3 ne dobim obsežnejšega texta pod prvo sliko (kajpak, ravno ta text me zanima).
Z network debuger ne vidim nič pametnega.
Kakšna ideja ?
Ne vem kaj to pošlje poleg tega kje je target, nič ?
link1
target link tega knofa, če poskusiš tole odpret v ravno odprtem browserju, ne dela:
link2
če z mojim httpclent, odprem link1 in nato link2 (v isti seji, predvidevam), deluje.
Katerikoli link na link2, klik, npr:
https://italic.units.it/flora/index.php...
tudi ne deluje če ga odpreš v ravno zagnanem browserju.
če se grem z mojim programom
httpclient.get(link1) httpclient.get(link2) httpclient.get(link3)
nekako deluje, do link3, s tem, da link3 ne dobim obsežnejšega texta pod prvo sliko (kajpak, ravno ta text me zanima).
Z network debuger ne vidim nič pametnega.
Kakšna ideja ?
Never underestimate the power of idiots in large groups.
- spremenil: BRBR ()
kuall ::
inspect->network + chatgpt + curl
curl -X POST "https://italic.units.it/flora/index.php... ^
-k ^
-H "Host: italic.units.it" ^
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" ^
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" ^
-H "Accept-Language: en-US,en;q=0.5" ^
-H "Accept-Encoding: gzip, deflate, br" ^
-H "Content-Type: application/x-www-form-urlencoded" ^
-H "Content-Length: 4" ^
-H "Origin: https://italic.units.it" ^
-H "Connection: keep-alive" ^
-H "Referer: https://italic.units.it/flora/index.php... ^
-H "Cookie: PHPSESSID=020pmistmsn548qarj1fmut2hp" ^
-H "Upgrade-Insecure-Requests: 1" ^
-H "Sec-Fetch-Dest: document" ^
-H "Sec-Fetch-Mode: navigate" ^
-H "Sec-Fetch-Site: same-origin" ^
-H "Sec-Fetch-User: ?1"
kuki pa dobiš iz original strani
curl -X POST "https://italic.units.it/flora/index.php... ^
-k ^
-H "Host: italic.units.it" ^
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" ^
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" ^
-H "Accept-Language: en-US,en;q=0.5" ^
-H "Accept-Encoding: gzip, deflate, br" ^
-H "Content-Type: application/x-www-form-urlencoded" ^
-H "Content-Length: 4" ^
-H "Origin: https://italic.units.it" ^
-H "Connection: keep-alive" ^
-H "Referer: https://italic.units.it/flora/index.php... ^
-H "Cookie: PHPSESSID=020pmistmsn548qarj1fmut2hp" ^
-H "Upgrade-Insecure-Requests: 1" ^
-H "Sec-Fetch-Dest: document" ^
-H "Sec-Fetch-Mode: navigate" ^
-H "Sec-Fetch-Site: same-origin" ^
-H "Sec-Fetch-User: ?1"
kuki pa dobiš iz original strani
Zgodovina sprememb…
- spremenilo: kuall ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Davčne blagajne (strani: 1 2 3 4 … 24 25 26 27 )Oddelek: Programiranje | 334610 (74613) | Macketina |
» | Arduino in luči (strani: 1 2 )Oddelek: Elektrotehnika in elektronika | 12242 (9868) | FX6300B |
» | [JAVA] HTTPS clientOddelek: Programiranje | 3193 (1923) | peterv6i |
» | Atari 8-bit NewsOddelek: Programska oprema | 1930 (989) | Gury |
» | HTML in CSS - lastnosti povezavOddelek: Programiranje | 884 (726) | RatedR |