[Facebook] Album title contains GraphQL rich text object (delight_ranges, inline_style_ranges)
regressionsite:bug
### Problem
When extracting a user's photo album (Photos tab), the `title` field now contains a large GraphQL rich text object instead of a clean album name.
### Example (Michael Jackson)
title field becomes:
Michael Jackson's Photos","delight_ranges":[],"image_ranges":[],"inline_style_ranges":[],"aggregated_ranges":[],"ranges":[],"color_ranges":[]},"media":{"edges":[{"node":{"__typename":"Photo","__isMedia":"Photo","image":{"height":960,"width":768,"uri":"https://scontent-nrt1-2.xx.fbcdn.net/v/t39.99422-6/731131760_1275341064672163_1777292887296014629_n.png?stp=dst-jpg_tt6&cstp=mx1248x1560&ctp=s960x960&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=k4W0LPTte0cQ7kNvwHAHMhD&_nc_oc=Adr2lq9w7rU77VHkZlYJeCc6XnW96mzA_ZUsevRuRcqeROqUptBrgFFOKVE6JSPE-2c&_nc_zt=14&_nc_ht=scontent-nrt1-2.xx&_nc_gid=rdzWnSQKV3bq4S-ntXA3vw&_nc_ss=7c2a8&oh=00_Af9y4V212XKxEBu1ePPrqvcq3YCzPRS26lEASNV-cqWeyw&oe=6A445106
### Reproduction steps
gallery-dl -K "https://www.facebook.com/michaeljackson/"
### Expected behavior
`title` should be clean like: `Michael Jackson's Photos`
### Actual behavior
`title` is polluted with GraphQL metadata (delight_ranges, inline_style_ranges, etc.)
### gallery-dl version
1.32.4 (latest)
### Additional information
- This affects user photo albums (pb.XXXXXXXX.-2207520000 sets)
- Individual posts and specific photo URLs seem unaffected
- Using `{title}` in directory template causes OSError (WinError 123) on Windows
### Temporary workaround
"facebook": {
"directory": ["facebook", "{name|username|id}"],
"filename": "{id}.{extension}"
}
关闭于 2026-06-27 1 条评论