postHeader = {
'TE': 'Trailers',
'x-requested-with': 'XMLHttpRequest',
'referer': 'https://vk.com/video558943339_456239930'
}
response = requests.get('https://vk.com/video558943339_456239930', headers=postHeader)
result = re.findall('view_hash:([a-z0-9]+)', response.text)
print(result)
<div class="btn-cont">
<a class="btn-back js-btn-back" href="index.html">Назад</a>
<input class="btn-register-end" type="submit" value="Зарегистрироваться">
</div>
endRegisterBtn.on('click', () => {
let regData = $('#reg-form').toJSON();
mp.trigger('signup', regData);
localStorage['form_data'] = regData;
return false;
});
endRegisterBtn = $('.btn-register-end');