Repository: youtube-dl
Issue: Austrian Parliament videos
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

Overview of Parlament Mediathek:

https://www.parlament.gv.at/MEDIA/

- Single video: https://www.parlament.gv.at/MEDIA/play.shtml?GP=XXVII&INR=170&ITYP=NRSITZ&INR_TEIL=1&DEBATTE=300
- Single video: http://uvp-parlament.sf.apa.at/video/pd/7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe
- Playlist: https://www.parlament.gv.at/MEDIA/suche.shtml?ITYP=NRSITZ&TO_CODE=STANDARD&AKTION=sitzungsstart


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Parlament Mediathek provides live streams and recordings of meetings of the Austrian Parliament, both Nationalrat (first chamber) as well as Bundesrat (second chamber) as well as recordings of expert panels and other material.

Copyright check: Noncommercial use is permitted as long as the content isn't manipulated or uploaded elsewhere.
See https://www.parlament.gv.at/DISC/index.shtml for full disclaimer.

Sorry that large parts of the site are only available in German, that's the official language in Austria.

Streaming and download work in Chrome

This is what I get from youtube-dl:

youtube-dl --verbose http://uvp-parlament.sf.apa.at/video/pd/7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://uvp-parlament.sf.apa.at/video/pd/7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.6.9 (CPython) - Linux-5.15.0-40-generic-x86_64-with-Ubuntu-22.04-jammy
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Proxy map: {}
[generic] 7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe: Requesting header
WARNING: Could not send HEAD request to http://uvp-parlament.sf.apa.at/video/pd/7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe: HTTP Error 404: Not Found
[generic] 7cb3ec8f-bca8-4a41-ba23-ace8e0d47bbe: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/snap/youtube-dl/4750/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/snap/youtube-dl/4750/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2298, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/snap/youtube-dl/4750/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/snap/youtube-dl/4750/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/snap/youtube-dl/4750/usr/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/snap/youtube-dl/4750/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/snap/youtube-dl/4750/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Thanks for considering this request. If you need further information, please shout.