Selenium Python - 编码德国特殊字符

时间:2018-03-07 11:08:18

标签: python selenium

你遇到过这种问题吗? 我的selenium-python脚本从;

开始
[#<Aws::S3::ObjectSummary:0x007fe348713170 @bucket_name="my-pics",     
@key="photos/9000101044393/1.jpg", @data=#<struct     
Aws::S3::Types::Object key="photos/9000101044393/1.jpg",     
last_modified=2018-03-01 05:14:57 UTC,     
etag="\"ee4540acc2a5bfc948507e0927e9dd1b\"", size=140119,     
storage_class="STANDARD", owner=#<struct Aws::S3::Types::Owner 
display_name="mohammed.eliass",     
id="06bf2e3c37f83d96de16b13fc00efc20a097988edd1d4">>, @client=#    
<Aws::S3::Client>>, #<Aws::S3::ObjectSummary:0x007fe348713008     
@bucket_name="my-pics", @key="photos/9000101044393/2.jpg", @data=#   
<struct Aws::S3::Types::Object key="photos/9000101044393/2.jpg",    
last_modified=2018-03-01 05:14:57 UTC,    
etag="\"b13dc7b1a516fee5ed15bccc57e\"", size=33132,    
storage_class="STANDARD", owner=#<struct Aws::S3::Types::Owner    
display_name="mohammed.eliass",  id="06bf2e3c37f83d96de16b13fc0adasdaddskfl88edd1d449d85b7157d95bdf334">>,

@client=#<Aws::S3::Client>>, #<Aws::S3::ObjectSummary:0x007fe348712ef0     
@bucket_name="my-pics", @key="photos/9000101044430/1.jpg", @data=#    
<struct Aws::S3::Types::Object key="photos/9000101044430/1.jpg",     
last_modified=2018-03-01 05:14:59 UTC,     
etag="\"308ab75c98257b821469b4b93e9ca8f8\"", size=141066,    
storage_class="STANDARD", owner=#<struct Aws::S3::Types::Owner    
display_name="mohammed.eliass"]

但是尽管这个脚本在阅读特殊德语字符时存在问题。顺便说一句,它也发生在另一种语言的特殊字符上。

0 个答案:

没有答案