Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jellyfin 识别不成功,调用接口返回空 #119

Open
seven0404 opened this issue May 9, 2024 · 0 comments
Open

jellyfin 识别不成功,调用接口返回空 #119

seven0404 opened this issue May 9, 2024 · 0 comments

Comments

@seven0404
Copy link

调用接口的的curl
里面的ip地址是本地地址,应该是启了本地服务代理了

curl 'http://192.168.6.6:8097/Items/RemoteSearch/Series'
-H 'Accept-Language: zh,en;q=0.9,zh-CN;q=0.8'
-H 'Connection: keep-alive'
-H 'Content-Type: application/json'
-H 'Cookie: _SSID=TuxoLs4j-GumIYKIJc44J5jXxkMo6-YzKx1GVB8K8Xw; stay_login=1; did=XS2iOqoKmj0MnLRCNMjSyXtL0s67X_imAWvgWGtdm-SdzEbS9w3LFDXLlDSIKmYtOOKGH9mUlE8WOSKSQh-YsA; _CrPoSt=cHJvdG9jb2w9aHR0cDo7IHBvcnQ9Nzc3NzsgcGF0aG5hbWU9Lzs%3D; id=HxaWWhB1f4FvNpxQA2HOVBo1ZA7PrM-DrFQ7mdlp_MAiIvPKdEcc5LEb3YSOm-22POY56bzYtXVIb6xQITQWQU; io=VviWyWVSTnXNqaBRAAAB'
-H 'Origin: http://192.168.6.6:8097'
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36'
-H 'X-Emby-Authorization: MediaBrowser Client="Jellyfin Web", Device="Chrome", DeviceId="TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEyNC4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3MTUwODc2MTMzNDQ1", Version="10.8.13", Token="58918339fd784dc39212312c7b1d6a7c"'
-H 'accept: application/json'
--data-raw '{"SearchInfo":{"ProviderIds":{"Bangumi":"55587","Imdb":"","Tmdb":"","Zap2It":""}},"ItemId":"47f2183b4b62081be3220f014e6e4104"}'
--insecure

image 无返回结果

在emby中的bangumi接口调用我看是成果的,
以下是emby中调用的接口。返回结果正常。可以做一个参考。
curl 'http://192.168.6.6:8096/emby/Items/RemoteSearch/Series?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Chrome+macOS&X-Emby-Device-Id=03e5b0fe-310b-448a-98d2-09be37ec949e&X-Emby-Client-Version=4.8.5.0&X-Emby-Token=013e2130f6f549abbc9203d301450def&X-Emby-Language=zh-cn&reqformat=json'
-H 'Accept-Language: zh,en;q=0.9,zh-CN;q=0.8'
-H 'Connection: keep-alive'
-H 'Content-Type: text/plain'
-H 'Cookie: _SSID=TuxoLs4j-GumIYKIJc44J5jXxkMo6-YzKx1GVB8K8Xw; stay_login=1; did=XS2iOqoKmj0MnLRCNMjSyXtL0s67X_imAWvgWGtdm-SdzEbS9w3LFDXLlDSIKmYtOOKGH9mUlE8WOSKSQh-YsA; _CrPoSt=cHJvdG9jb2w9aHR0cDo7IHBvcnQ9Nzc3NzsgcGF0aG5hbWU9Lzs%3D; id=HxaWWhB1f4FvNpxQA2HOVBo1ZA7PrM-DrFQ7mdlp_MAiIvPKdEcc5LEb3YSOm-22POY56bzYtXVIb6xQITQWQU; io=VviWyWVSTnXNqaBRAAAB'
-H 'Origin: http://192.168.6.6:8096'
-H 'Referer: http://192.168.6.6:8096/web/index.html'
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36'
-H 'accept: application/json'
--data-raw '{"SearchInfo":{"ProviderIds":{"Bangumi":"55587"}},"ItemId":"2974"}'
--insecure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant