# python 3.x import requests import math a = b'\xe6\xac\xb8\xe5\x90\x83\xe8\xb8\xa2\xe8\xb8\xa2\xe6\x89\xb9\xe6\x96\xaf\xe5\x86\x92\xe5\x8f\xb7\xe6\x96\x9c\xe6\x9d\xa0\xe6\x96\x9c\xe6\x9d\xa0\xe8\x92\x82\xe5\xa7\x86\xe6\x96\xb9dev\xe7\x82\xb9\xe7\xa0\x81\xe4\xba\x91\xe7\x82\xb9io\xe6\x96\x9c\xe6\x9d\xa0\xe5\xbf\xab\xe4\xb9\x90\xe5\x87\x8f\xe5\x8f\xb7\xe6\x96\xb0\xe5\x87\x8f\xe5\x8f\xb7\xe5\xb9\xb4\xe5\x87\x8f\xe5\x8f\xb72021' # tip 01 : encode this # tip 02 : you need to translate this string of text into a URL (including pinyin, symbols, numbers) b = requests.get(url=a) c = a + "/" + str( int(math.pow(7, (math.log(int(b.text[35:39]), 7))) + 23 * 67 * 73)) + ".jpg" print(c)
显然,a的值是一串被编码的文本
执行
1 2
a = b'\xe6\xac\xb8\xe5\x90\x83\xe8\xb8\xa2\xe8\xb8\xa2\xe6\x89\xb9\xe6\x96\xaf\xe5\x86\x92\xe5\x8f\xb7\xe6\x96\x9c\xe6\x9d\xa0\xe6\x96\x9c\xe6\x9d\xa0\xe8\x92\x82\xe5\xa7\x86\xe6\x96\xb9dev\xe7\x82\xb9\xe7\xa0\x81\xe4\xba\x91\xe7\x82\xb9io\xe6\x96\x9c\xe6\x9d\xa0\xe5\xbf\xab\xe4\xb9\x90\xe5\x87\x8f\xe5\x8f\xb7\xe6\x96\xb0\xe5\x87\x8f\xe5\x8f\xb7\xe5\xb9\xb4\xe5\x87\x8f\xe5\x8f\xb72021' a.decode()
得到
1
'欸吃踢踢批斯冒号斜杠斜杠蒂姆方dev点码云点io斜杠快乐减号新减号年减号2021'
提示里说需要翻译这串文本,得到
1
https://timfangdev.gitee.io/happy-new-year-2021
当然它不能直接在浏览器里打开
把它替换到原程序里
1 2 3 4 5 6 7 8 9 10 11
# python 3.x import requests import math a = 'https://timfangdev.gitee.io/happy-new-year-2021' # tip 01 : encode this # tip 02 : you need to translate this string of text into a URL (including pinyin, symbols, numbers) b = requests.get(url=a) c = a + "/" + str( int(math.pow(7, (math.log(int(b.text[35:39]), 7))) + 23 * 67 * 73)) + ".jpg" print(c)