tests: add tests for empty recommendations, new continuation
This commit is contained in:
parent
562ac2df7e
commit
78bf29453f
6 changed files with 12202 additions and 3 deletions
94
testfiles/video_details/recommendations_empty.json
Normal file
94
testfiles/video_details/recommendations_empty.json
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"responseContext": {
|
||||
"visitorData": "CgthSmp5T24zQkRjTSiom5WaBg%3D%3D",
|
||||
"serviceTrackingParams": [
|
||||
{
|
||||
"service": "CSI",
|
||||
"params": [
|
||||
{
|
||||
"key": "c",
|
||||
"value": "WEB"
|
||||
},
|
||||
{
|
||||
"key": "cver",
|
||||
"value": "2.20221006.09.00"
|
||||
},
|
||||
{
|
||||
"key": "yt_li",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"key": "GetWatchNext_rid",
|
||||
"value": "0x8836d1dc393da349"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "GFEEDBACK",
|
||||
"params": [
|
||||
{
|
||||
"key": "logged_in",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"key": "e",
|
||||
"value": "1714258,23804281,23882503,23885487,23918597,23934970,23940248,23946420,23966208,23983296,23986022,23998056,24001373,24002022,24002025,24004644,24007246,24034168,24036948,24077241,24080738,24108448,24120820,24135310,24140247,24152443,24161116,24162920,24164186,24166867,24169501,24181174,24185614,24187043,24187377,24191629,24197450,24199724,24199774,24211178,24217535,24219713,24223903,24224266,24225483,24226335,24227844,24228638,24229161,24241378,24243988,24248092,24248385,24254502,24255543,24255545,24256985,24259938,24260783,24262346,24263796,24265820,24267564,24267570,24268142,24268812,24268870,24278546,24278596,24279196,24279628,24279727,24280997,24281835,24282957,24283093,24283280,24286003,24286019,24287326,24287795,24288045,24289478,24289901,24289939,24290131,24290276,24290971,24292296,24295099,24295740,24297099,24298640,24298651,24298795,24299688,24299747,24390674,24391537,24392058,24392269,24394618,24590921,39322278,39322399,39322505"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "GUIDED_HELP",
|
||||
"params": [
|
||||
{
|
||||
"key": "logged_in",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "ECATCHER",
|
||||
"params": [
|
||||
{
|
||||
"key": "client.version",
|
||||
"value": "2.20221006"
|
||||
},
|
||||
{
|
||||
"key": "client.name",
|
||||
"value": "WEB"
|
||||
},
|
||||
{
|
||||
"key": "client.fexp",
|
||||
"value": "24286003,24298795,24256985,23804281,24001373,23946420,24283280,24289478,24223903,24298651,24286019,23885487,24077241,24265820,23918597,24255545,24036948,24259938,24279196,24199774,24282957,24279628,24268812,24169501,24225483,24590921,24197450,24298640,39322399,24290971,24108448,24287326,24219713,24278596,24002022,24181174,24227844,24287795,24229161,24283093,24162920,24248092,24241378,24166867,24002025,24280997,24391537,24278546,24288045,24034168,24290131,24211178,24289901,24226335,24268870,24295099,24135310,24191629,24394618,24007246,24004644,24243988,24281835,24392058,23998056,24185614,24262346,24187043,24224266,23986022,24228638,23934970,39322278,24292296,24260783,23940248,24263796,24267564,24299688,24390674,24152443,23966208,24267570,24080738,24290276,24217535,23882503,24279727,24164186,24289939,24187377,24268142,24120820,24199724,39322505,24392269,24254502,24255543,24299747,24161116,24140247,1714258,24297099,23983296,24295740,24248385"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mainAppWebResponseContext": {
|
||||
"loggedOut": true
|
||||
},
|
||||
"webResponseContextExtensionData": {
|
||||
"hasDecorated": true
|
||||
}
|
||||
},
|
||||
"trackingParams": "CAAQg2ciEwjfruPhg9j6AhXW2BEIHd9wAwc=",
|
||||
"engagementPanels": [
|
||||
{
|
||||
"engagementPanelSectionListRenderer": {
|
||||
"content": {
|
||||
"adsEngagementPanelContentRenderer": {
|
||||
"hack": true
|
||||
}
|
||||
},
|
||||
"targetId": "engagement-panel-ads",
|
||||
"visibility": "ENGAGEMENT_PANEL_VISIBILITY_HIDDEN",
|
||||
"loggingDirectives": {
|
||||
"trackingParams": "CAEQ040EGAAiEwjfruPhg9j6AhXW2BEIHd9wAwc=",
|
||||
"visibility": {
|
||||
"types": "12"
|
||||
},
|
||||
"enableDisplayloggerExperiment": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
11306
testfiles/video_details/video_details_20221011_new_continuation.json
Normal file
11306
testfiles/video_details/video_details_20221011_new_continuation.json
Normal file
File diff suppressed because one or more lines are too long
Reference in a new issue