Git Product home page Git Product logo

telegram_media_downloader's People

Contributors

codel1417 avatar dependabot-preview[bot] avatar dependabot[bot] avatar dineshkarthik avatar lqlsoftware avatar mergify[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

telegram_media_downloader's Issues

Attribute Error: 'int' object has no attribute 'strip'

Describe the bug
api_hash:
api_id:
chat_id: -1001380566192
download_directory: C:\Temp\source\repos\TDownloads\Downloads
ids_to_retry: {}
last_read_message_id: {}
file_formats:
document:

  • pdf
    media_types:
  • audio
  • document
  • voice
  • video_note
    phone_number: +12225555555

Python Version
Python: [e.g. 3.9.6]

OS:
Win10

Logs
Traceback (most recent call last):
File "C:\Temp\source\repos\TDownloads\TGD1\telegram_media_downloader\media_downloader.py", line 443, in
main()
File "C:\Temp\source\repos\TDownloads\TGD1\telegram_media_downloader\media_downloader.py", line 424, in main
updated_config = asyncio.run(
File "C:\Python39\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "C:\Temp\source\repos\TDownloads\TGD1\telegram_media_downloader\media_downloader.py", line 343, in begin_import
await client.start()
File "C:\Python39\lib\site-packages\pyrogram\methods\utilities\start.py", line 62, in start
await self.authorize()
File "C:\Python39\lib\site-packages\pyrogram\client.py", line 359, in authorize
sent_code = await self.send_code(self.phone_number)
File "C:\Python39\lib\site-packages\pyrogram\methods\auth\send_code.py", line 50, in send_code
phone_number = phone_number.strip(" +")
AttributeError: 'int' object has no attribute 'strip'

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.