1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Added facebook profile timeline fuzzy lookup rule to rules.yaml (#363)

The value of __adt is incremented to indicate position in timeline as shown below and the profile_id or pagelet_token contained in the data param identify the facebook user the timeline data is for
This commit is contained in:
John Berlin 2018-08-14 21:31:39 -04:00 committed by Ilya Kreymer
parent 5f938e6879
commit c08d0d676a

View File

@ -83,6 +83,9 @@ rules:
match: '("(?:cursor|cursorindex)":["\d\w]+)'
find_all: true
- url_prefix: 'com,facebook)/ajax/pagelet/generic.php/profiletimeline'
fuzzy_lookup: 'com,facebook\)/.*[?&](__adt=[^&]+).*[&]data=(?:.*?(?:[&]|(profile_id|pagelet_token)[^,]+))'
- url_prefix: 'com,facebook)/ajax/pagelet/generic.php/'
#fuzzy_lookup: 'com,facebook\)/.*[?&]data=(.*?(?:[&]|query_type[^,]+))'