mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[facebook] redirect Mobile URLs to Desktop URLs
closes #24831 closes #25624
This commit is contained in:
parent
6c370bc149
commit
5c6e9f0b6c
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,8 @@ class FacebookIE(InfoExtractor):
|
||||||
self._login()
|
self._login()
|
||||||
|
|
||||||
def _extract_from_url(self, url, video_id, fatal_if_no_video=True):
|
def _extract_from_url(self, url, video_id, fatal_if_no_video=True):
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(
|
||||||
|
url.replace('://m.facebook.com/', '://www.facebook.com/'), video_id)
|
||||||
|
|
||||||
video_data = None
|
video_data = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue