Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter gerroden

    (@gerroden)

    It looks like this with wget:

    env LANG=en wget -dO – “https://www.mytischtennis.de/community/exportICSCalendar?teamids=2257207”

    Setting –output-document (outputdocument) to –
    DEBUG output created by Wget 1.19.1 on cygwin.

    Reading HSTS entries from /home/Gerro/.wget-hsts
    URI encoding = ‘ANSI_X3.4-1968’
    converted ‘https://www.mytischtennis.de/community/exportICSCalendar?teamids=2257207’ (ANSI_X3.4-1968) -> ‘https://www.mytischtennis.de/community/exportICSCalendar?teamids=2257207’ (UTF-8)
    –2020-02-15 20:40:38– https://www.mytischtennis.de/community/exportICSCalendar?teamids=2257207
    Certificates loaded: 149
    Resolving https://www.mytischtennis.de (www.mytischtennis.de)… 193.26.98.105
    Caching https://www.mytischtennis.de => 193.26.98.105
    Connecting to https://www.mytischtennis.de (www.mytischtennis.de)|193.26.98.105|:443… connected.
    Created socket 3.
    Releasing 0x00000006004d2e30 (new refcount 1).

    —request begin—
    GET /community/exportICSCalendar?teamids=2257207 HTTP/1.1
    User-Agent: Wget/1.19.1 (cygwin)
    Accept: */*
    Accept-Encoding: identity
    Host: https://www.mytischtennis.de
    Connection: Keep-Alive

    —request end—
    HTTP request sent, awaiting response…
    —response begin—
    HTTP/1.1 200 OK
    Set-Cookie: cfid=4387c644-65b3-454b-9d88-9e6946cd0b12;Path=/;Expires=Fri, 06-Mar-2020 21:18:48 UTC;HTTPOnly
    Set-Cookie: cftoken=0;Path=/;Expires=Fri, 06-Mar-2020 21:18:48 UTC;HTTPOnly
    Content-Disposition: inline; filename=mytischtennis_de_kalender_export_2020-02-15.ics
    Content-Type: text/calendar;charset=UTF-8
    Content-Length: 5100
    Date: Sat, 15 Feb 2020 19:40:43 GMT
    Server: Microsoft-IIS/7.5
    X-Varnish: 92256979
    Age: 0
    Via: 1.1 varnish-v4
    X-Cache: Miss
    Accept-Ranges: bytes
    Connection: close
    Set-Cookie: SRV=82; path=/

    —response end—
    200 OK

    Stored cookie https://www.mytischtennis.de -1 (ANY) / <session> <insecure> [expiry none] cfid 4387c644-65b3-454b-9d88-9e6946cd0b12

    Stored cookie https://www.mytischtennis.de -1 (ANY) / <session> <insecure> [expiry none] cftoken 0

    Stored cookie https://www.mytischtennis.de -1 (ANY) / <session> <insecure> [expiry none] SRV 82
    URI content encoding = ‘UTF-8’
    Length: 5100 (5.0K) [text/calendar]
    Saving to: ‘STDOUT’
    BEGIN:VCALENDAR
    METHOD:PUBLISH
    PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
    VERSION:2.0
    X-WR-CALNAME:Termine von TuS Et. Wiesbaden 1846
    BEGIN:VEVENT
    SUMMARY:TSG Niederhofheim 06 vs. TuS Et. Wiesbaden 1846
    DTSTART;TZID=Europe/Berlin:20190906T181500
    DTEND;TZID=Europe/Berlin:20190906T211500
    LOCATION:Schulturnhalle Wachenheimer Stra?e 67 65835 Liederbach
    DESCRIPTION:Vorrunde
    TRANSP:TRANSPARENT
    UID:6644FDBF4090B18B262B80F2AB45A0A5
    END:VEVENT
    […]
    END:VCALENDAR
    -end-

    0K …. 100% 171M=0s

    2020-02-15 20:40:38 (171 MB/s) – written to stdout [5100/5100]

    With curl i just never get the file. The response always just sends 200-OK, the header Content-Disposition and a session cookie. I already tried to find out, if the session cookies causes this, or if it is that header and just found out that wget handles both quietly.

    With curl:

    curl -IL “https://www.mytischtennis.de/community/exportICSCalendar?teamids=2257207&#8221;
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0
    HTTP/1.1 200 OK
    Set-Cookie: cfid=f9c65d0f-be83-4e0a-892a-a953318ce3b2;Path=/;Expires=Fri, 06-Mar-2020 21:30:02 UTC;HTTPOnly
    Set-Cookie: cftoken=0;Path=/;Expires=Fri, 06-Mar-2020 21:30:02 UTC;HTTPOnly
    Content-Disposition: inline; filename=mytischtennis_de_kalender_export_2020-02-15.ics
    Content-Type: text/calendar;charset=UTF-8
    Date: Sat, 15 Feb 2020 19:51:58 GMT
    Server: Microsoft-IIS/7.5
    X-Varnish: 150420197
    Age: 0
    Via: 1.1 varnish-v4
    X-Cache: Miss
    Accept-Ranges: bytes
    Connection: close
    Set-Cookie: SRV=81; path=/

Viewing 1 replies (of 1 total)