Капча в запросах



  • Добрый день, помогите получить картинку капчи. На сайте через обычный браузер копирую ссылку на изображение в URL формате как data:image/jpeg;base64,/9j/4A... И открывает в новом окне без проблем.

    В BAS через гет запрос также ловлю такую же ссылку на капчу, но она не открывается в браузере никак0_1533128652057_Снимок.PNG

    Какие могут быть проблемы?


  • administrators

    @Spark911 Это и есть картинка просто в формате base64, возьми код после слова "base64," и сохрани в BAS в файл с галочкой Данные представлены в формате base64.



  • @fox В браузере у меня открывается она, если скопировать само URL изображение с сервиса с кодом base 64

    0_1533129658138_Снимок.PNG



  • Поясню лучше
    Это я получаю когда вручную копирую картинку (открывается в хроме)

    data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgAMAB2AwERAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkj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27BZFjljaNipIIDYY4JB57V04bESwleniIbwakr7XTvqbUasqFWNWO8Wn92pi/DD4T+H/hN8NtN8C6NDLPoFjFLEsd+wmaRZJHkk3nADbmkbjGMHGMV047MK2PxcsbU0m7PTS1kkrdenc0r4mdes670em3S3bqdJouh6b4b0u30zSNPtdK023XbDZ2UKwwxDJOFRQABkk8DvXFVrVK83UrScpPdt3b+bMalSdWTnUbbfV6sra34Q0PxLNBNquj2Oo3ECSJBPc26vJCHUq+xyMpuUkHaRkGtaOLxGHTVGbina6Tdnba62fzNKWIrUVanNpeT0+aMDwh8GfCPgr4Yx/D2w0mOfwiiTxf2bfsblGSaV5XRi+Sw3SNjOT09K6sRmeKxGL+vSlappqtNkl+SLqYqrUrfWL2l5eljqNF0PTfDWlW2maRp9rpWm2y7ILOyhWGGJc5wqKAFGSeAK4KtWpXm6lWTlJ7tu7fzZzznKpJym7vuy9WRBz3xE8Ir4/+H/ibwu9ybJNb0y6003ITeYhNE0e/bkbsbs4yM46iuzB4j6piaWItfkkpW2vZ3sb0Kio1YVWr8rTt3szhvgx8M7v9nP4Y+HfCf9sS+JdH0xJluLuS1EcsIZ3lDoiFiUDNt2ncw3btwC4r2MxxtPO8VUxChyTlayvdOySs27K9tb6LS1ru56OJrQzCrKajyydra72SVnsr+ena19T1eGaO4hSWJ1likUMjocqwPIII6ivnJRcW4yVmjyGnF2Y+kIKACgAoAKACgAoAKACgAoAKACgAoAKAKVppUNjeXM8DSRi4O54Q37vfkkuF7E55x1PJ55redaVSEYy6detu3ml07ehrKo5xUZdOvX0LtYGR/9k=

    Это я получаю в BAS (в хроме не открывается)

    data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVF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XmcR4ilicwnKi7pWV/P8A4G3yPL4pxVHGZpUqUHeKsrrZtLX1ttfy00PKo4nlbaiM7eijJr5htRV2fLwpzqvlgm35ak66ZduGIt5Bt5wRg/gD1rN1aa6nZHL8XJNqm9PK33J6v5FatTzwoAKACgC1pdh/amp2lmLiC0NxKsXn3UnlxR7jjc7dlGck9hW1Gl7apGnzKN3a7dkvV9jahS9vVjS5lHmaV27JX6t9Eup6l4x8QW/hD4J2nw1j1Cw1bUH8RTa5e3OmXAngiUQLBFGJF+V93zucE4+XPOQPosb7PBYCOBjUU5uTk+V3SVrJXtrfR+VtT6jHulgctjl0asak3Nzbi7xStypXtZ338rao8jr5c+RCgC22lXKNhowpIyNzqAfoc81iq0HqmelLLsTB2lG3q0r+jvr8j6W+HPmfE/8AZG8Z+D7y4jm1DwjdDW9PiVo5phbEEyqiZBVVYyMXyf8AW49AfvMvqSzHJ62FWsoaxukrddOt/iV+zsux+g5dR+uZFWwWImrwbatyyaS95bPdvmim31a2Vjyf4GeL/CXgL4naP4h8RRanLYaXMt1HHZQRzSySqcoPmkQIAeSfmPAGOc185lNWlh8VGvipNKOyit353e3oj5jKMdluX4tV6kJNJO17N3tZPdJW3+10tbc57x3rOl6n4z1q902IXNhd3klxHJKjROyu24AruO0jODgkcVz5hy1MXVqUarlGTbva2+tmvJ6fK5jmmOwlbG1atGkpRlJyv7yeutt9LNtPo97GA1xbhsx2o57SSFgPpjH9a89Rn1l+H/DnkSrYdO9Oj97bXyty/i2EmoSsf3eLdcYKw/KD9fWhUo9dfUJ42q/4fuLtHT7+/wAyuzs5yxLH3NaJJbHFKUpaydxKZIUAFABQAUAFABQAUAFAHpnwK+MUHwf1bXpb7RB4g0rWtLm0u8sPtBt2kjfGQJQCU9yAT6Y617+VZnHL/aqpDmU1btr69rN3PpMmzaGWe2jVp88Zxta9vx7WbT69jzOvAPmwoAKACgAoAKAP/9k=



  • Что-то странное творится, я копирую код-вставляю в хром-не открывает
    Этот же код вставляю на форум, копирую- в хроме открывает



  • @fox Все получилось, спасибо!