Git Product home page Git Product logo

line-to-telegram's People

Contributors

asdamp avatar imbeerus avatar knowlet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

line-to-telegram's Issues

Error when pack name contains invalid characters

java -jar line-to-telegram.jar https://store.line.me/stickershop/product/7742899/en
Picked up _JAVA_OPTIONS: -Xmx512m
java.io.FileNotFoundException: C:\Users\kotori\Downloads\"Hitori Bocchi no Marumaruseikatsu" Nako\189407782.png (A sintaxe do nome do arquivo, do nome do diretório ou do rótulo do volume está incorreta)
        at java.base/java.io.RandomAccessFile.open0(Native Method)
        at java.base/java.io.RandomAccessFile.open(Unknown Source)
        at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
        at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
        at java.desktop/javax.imageio.stream.FileImageOutputStream.<init>(Unknown Source)
        at java.desktop/com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(Unknown Source)
        at java.desktop/javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
        at java.desktop/javax.imageio.ImageIO.write(Unknown Source)
        at utils.Utils.writeToFile(Utils.kt:80)
        at utils.Utils.saveImage(Utils.kt:19)
        at LineToTelegramKt.main(LineToTelegram.kt:12)
Exception in thread "main" javax.imageio.IIOException: Can't create an ImageOutputStream!
        at java.desktop/javax.imageio.ImageIO.write(Unknown Source)
        at utils.Utils.writeToFile(Utils.kt:80)
        at utils.Utils.saveImage(Utils.kt:19)
        at LineToTelegramKt.main(LineToTelegram.kt:12)

Exception in thread "main" java.lang.NullPointerException

I'm trying to download a set of stickers https://store.line.me/stickershop/product/9608/en and can't do it. I get the following error. I get the same when I try to download the one used as example in #2
Found the same error while downloading https://store.line.me/stickershop/product/11769/es

Exception in thread "main" java.lang.NullPointerException
at utils.JsoupUtils.getPackTitle(JsoupUtils.kt:67)
at model.Pack.(Pack.kt:9)
at LineToTelegramKt.main(LineToTelegram.kt:10)

Error

C:\Users\Michael\Downloads>java -jar line-to-telegram.jar https://store.line.me/stickershop/product/6656060/en

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 57, end -1, length 86
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at model.Sticker.getName(Sticker.kt:8)
at LineToTelegramKt.main(LineToTelegram.kt:12)

Exception in thread "main" java.lang.StringIndexOutOfBoundsException

Hi, I'm getting the following error when running the program:

C:\path\to\jar\file> java -jar line-to-telegram.jar https://store.line.me/stickershop/product/1439/en
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -58
        at java.lang.String.substring(Unknown Source)
        at model.Sticker.getName(Sticker.kt:9)
        at LineToTelegramKt.main(LineToTelegram.kt:12)

The folder is created according to the sticker packs name, though nothing is saved and ends abruptly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.