-
Committer:
psp
-
Date:
2022-09-30 14:20:46 UTC
-
Revision ID:
svn-v4:ebf7c1c2-ba36-0410-9fe8-c592906822b4:browser:46820
*General*
- added wrapper for getSubdomain
*Plugins: Fixes/Changes/Maintenance*
- pornhubcom: use browser inbuilt function to get subdomain
XFS:
- some refactoring
- internal_isVideohoster_enforce_video_filename: also enforce video filenames if added URL is embed URL -> Will only work once we do not correct added URLs anymore
- setWeakFilename: simplified this. I figured most times it looks nicer to set weak filenames with extensions vs setMimeHint
- correctDownloadLink: moved most of all functionality into getContentURL
- moved decision which final downloadlink to use (official video download vs stream download) into handleDownload