mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-21 18:22:30 +01:00
fixed tests
This commit is contained in:
parent
35d55174aa
commit
7bf02779b5
@ -182,7 +182,7 @@ class FacebookExtractor(Extractor):
|
||||
))
|
||||
|
||||
first_video_raw = text.extr(
|
||||
video_page, '"playlist":"\\u003C?xml', '\\/Period>\\u003C\\/MPD>'
|
||||
video_page, '"permalink_url"', '\\/Period>\\u003C\\/MPD>'
|
||||
)
|
||||
|
||||
audio = {
|
||||
@ -412,7 +412,7 @@ class FacebookProfileExtractor(FacebookExtractor):
|
||||
subcategory = "profile"
|
||||
pattern = (
|
||||
BASE_PATTERN +
|
||||
r"/(?!(?:media|photo|watch|.*?/photos|.*?/posts|.*?/videos)/)"
|
||||
r"/(?!media/|photo/|watch/|.*?/photos/|.*?/posts/|.*?/videos/)"
|
||||
r"(?:profile.php\?id=|people/[^/?&]+/)?([^/?&]+)"
|
||||
)
|
||||
example = "https://www.facebook.com/USERNAME"
|
||||
|
@ -75,7 +75,7 @@ __tests__ = (
|
||||
"#count" : 1,
|
||||
|
||||
"date" : datetime.datetime(2024, 4, 19, 17, 25, 48),
|
||||
"name" : "451734618_986951969754568_3078978443536682653_n",
|
||||
"name" : "462125225_400524393116630_7457168924362807384_n",
|
||||
"id" : "1165557851291824",
|
||||
"url" : str,
|
||||
"user_id" : "100064860875397",
|
||||
|
Loading…
Reference in New Issue
Block a user