Skip to content

Commit

Permalink
[facebook] redirect Mobile URLs to Desktop URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Dec 10, 2020
1 parent 6c370bc commit 5c6e9f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion youtube_dl/extractor/facebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def _real_initialize(self):
self._login()

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

Expand Down

0 comments on commit 5c6e9f0

Please sign in to comment.