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 authored and ThirumalaiK committed Jan 28, 2021
1 parent 3f4552a commit fb9b5ff
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 fb9b5ff

Please sign in to comment.