mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Allow HEAD method for ytdl
This commit is contained in:
@@ -27,7 +27,7 @@ url_formats = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@app.route('/download/<feed_id>/<video_id>', methods=['GET'])
|
@app.route('/download/<feed_id>/<video_id>', methods=['GET', 'HEAD'])
|
||||||
async def download(req, feed_id, video_id):
|
async def download(req, feed_id, video_id):
|
||||||
if not feed_id:
|
if not feed_id:
|
||||||
raise InvalidUsage('Invalid feed id')
|
raise InvalidUsage('Invalid feed id')
|
||||||
|
Reference in New Issue
Block a user