xiaomianao666

小程序:电影助手

Nov 21st, 2024
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@电影助手@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi55S15b2x5Yqp5omLIiwiYXV0aG9yIjoi5rWB6IuPIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnlwYWdlIiwidmVyc2lvbiI6MSwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOiBcbnZhciBkID0gW107XG5cbmlmIChNWV9QQUdFID09IDEpIHtcbiAgICBkLnB1c2goe8KgwqDCoFxuICAgICAgICB0aXRsZTogXCLmkJzntKJcIixcbiAgICAgICAgwqDCoMKgdXJsOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9wYWdlL3NvdXN1bz9wYWdlPWZ5cGFnZSZrdz1cIiArIGlucHV0XG4gICAgfSksXG4gICAgICAgIMKgwqDCoGRlc2M6IFwi6K+36L6T5YWl5pCc57Si5YWz6ZSu6K+NXCIsXG4gICAgICAgIMKgwqDCoGNvbF90eXBlOiBcImlucHV0XCIsXG4gICAgfSlcbn07XG5ldmFsKEpTT04ucGFyc2UocmVxdWVzdCgnaGlrZXI6Ly9wYWdlL2FlcycpKS5ydWxlKTtcblxuLy9tZDXliqDlr4ZcbmZ1bmN0aW9uIG1kNShzdHIpIHtcbiAgICByZXR1cm4gQ3J5cHRvSlMuTUQ1KHN0cikudG9TdHJpbmcoKTtcbn1cbnZhciB0ID0gTWF0aC5mbG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jyc7XG4gICAgIGZvcihpIGluIHRhZyl7XG4gICAgdmFyIHN0cjEgPSBzdHIxK3RhZ1tpXS5uYW1lKycgICAnO1xufVxuICAgIC8vbG9nKHN0cjEpO1xyXG4gICAgICAgICAgICBkLnB1c2goe1xyXG4gICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEudGl0bGUsXG4gICAgICAgICAgICAgICBkZXNjOnN0cjEsIHBpY191cmw6ZGF0YS5wYW5vcmFtYS5yZXBsYWNlKCdfc3luYy53ZWJwJywnLmpwZycpLFxyXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFwicGljXzFcIixcbiAgICAgICAgICAgICAgICB1cmwgOiAgZGF0YS52aWRlb191cmwsXG59KVxufSlcbn1lbHNlIGlmKOWIhuexuz09Mil7XG52YXIgbGlzdCA9IEpTT04ucGFyc2UoaHRtbDIpLmRhdGE7XG5saXN0LmZvckVhY2goKGRhdGEpID0+IHtcclxuICAgICAgICAgICAgZC5wdXNoKHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBkYXRhLm5hbWUsXG4gICAgICAgICAgICAgICAgZGVzYzpkYXRhLnRvdGFsKyfkuKrniYflhL8nLFxuICAgICAgICAgICAgICAgcGljX3VybDpkYXRhLmltYWdlLFxyXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFwiaWNvbl8zXCIsXG4gICAgICAgICAgICAgICAgdXJsIDogICdoaWtlcjovL2VtcHR5IyNmeXBhZ2UjIycrZGF0YS5pZCsnQHJ1bGU9anM6JC5yZXF1aXJlKFwiaGlrZXI6Ly9wYWdlL2VyamlcIiknLFxufSlcbn0pXG59ZWxzZSBpZijliIbnsbs9PTMpe1xudmFyIGxpc3QgPSBKU09OLnBhcnNlKGh0bWwyKS5kYXRhO1xuLy9sb2cobGlzdClcbmxpc3QuZm9yRWFjaCgoZGF0YSkgPT4ge1xyXG4gICAgICAgICAgICBkLnB1c2goe1xyXG4gICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEubmFtZSxcb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IChnZXRNeVZhcignY29sb3IxJywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTEnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yMScsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnkyKGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3IyJywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTInLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yMicsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnkzKGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3IzJywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTMnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yMycsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnk0KGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3I0JywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTQnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yNCcsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnk1KGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3I1JywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTUnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yNScsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnk2KGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3I2JywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTYnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yNicsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnk3KGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAgIChnZXRNeVZhcignY29sb3I3JywgJzAnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGUsXFxuICAgICAgICAgICAgdXJsOiAkKExpc3QudHlwZSkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZTcnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yNycsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuZnVuY3Rpb24gQ2F0ZWdvcnk4KGxpc3QsZCkge1xcbiAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgIHZhciB0aXRsZSA9IExpc3QudGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxl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SlNPTi5wYXJzZShodG1sMikuZGF0YS5kYXRhO1xcbi8vbG9nKGxpc3QpO1xcbmxpc3QuZm9yRWFjaCgoZGF0YSkgPT4ge1xcbiAgICAgICAgdmFyIHRhZz1kYXRhLnRhZ3M7XFxuICAgICAgdmFyIHN0cjE9Jyc7XFxuICAgICBmb3IoaSBpbiB0YWcpe1xcbiAgICB2YXIgc3RyMSA9IHN0cjErdGFnW2ldLm5hbWUrJyAgICc7XFxufVxcbiAgICAvL2xvZyhzdHIxKTtcXHJcXG4gICAgICAgICAgICBkLnB1c2goe1xcclxcbiAgICAgICAgICAgICAgICB0aXRsZTogZGF0YS50aXRsZSxcXG4gICAgICAgICAgICAgICBkZXNjOnN0cjEsIHBpY191cmw6ZGF0YS5wYW5vcmFtYS5yZXBsYWNlKCdfc3luYy53ZWJwJywnLmpwZycpLnJlcGxhY2UoJ19sb25nUHJldmlldycsJycpLFxcbiAgICAgICAgICAgICAgICB1cmwgOiAgZGF0YS52aWRlb191cmwsXFxuICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcInBpY18xXFxcIixcXG59KVxcbn0pXFxuXFxuc2V0UmVzdWx0KGQpXCJ9XSIsImljb24iOiJodHRwOi8vYXBpLnhrYTEudG9wLzZpbWcvbWFkb3V0dmd3LnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment