フィルターのクリア

How can I find out UserAgent string for a specific browser?

6 ビュー (過去 30 日間)
Andrea Carignano
Andrea Carignano 2021 年 3 月 19 日
コメント済み: Harry 2021 年 11 月 11 日
I want to change the UserAgent property for a weboption object. For example I want to have internet explorer instead of Matlab. However, if I use weboption I see that the UserAgent string is "MATLAB 9.8.0.1451342 (R2020a) Update 5".
>> weboptions
ans =
weboptions with properties:
CharacterEncoding: 'auto'
UserAgent: 'MATLAB 9.8.0.1451342 (R2020a) Update 5'
Timeout: 5
Username: ''
Password: ''
KeyName: ''
KeyValue: ''
ContentType: 'auto'
ContentReader: []
MediaType: 'auto'
RequestMethod: 'auto'
ArrayFormat: 'csv'
HeaderFields: []
CertificateFilename: 'default'
The string is not so simple and I don't know what string I have to use for other user agents. Where can I find them?
  1 件のコメント
Harry
Harry 2021 年 11 月 11 日
Open the following link. This page shows you what your web browser is sending in the "User-Agent" header for your HTTP requests.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Web Services from MATLAB Using HTTP についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by