Git Product home page Git Product logo

dl-telegram-by-file-attachment's Introduction

Daniele Scasciafratte, the Open Source Multiversal guy (founder of Italian Linux Society Rieti), he should work in his web agency, Codeat in Rome, and in the rest of the day collaborates in many open source projects.
All his talks and slide with recordings are avalaible on his dedicated website.
Since April 2021 part of the council of Italian Linux Society association.

I have an ๐Ÿ‡ฎ๐Ÿ‡น podcast about Open Source and tech opinions every week (over 150+ episodes!).

In the WordPress world he was a Core Contributor, (still) plugin developer and PTE. Creator of GlotDict and WordPress Plugin Boilerplate Powered and one of the maintainers of VVV.
In the meantime also a long time experience volunteer in the Mozilla community (part of Mozilla Italia), a former Mozilla TechSpeakers and former Mozilla Rep (former Reps Council member) .

A NeoVim lover, Browser Extension developer with Share Backported, Footswitch Scripted with scripting addictions, Enforcer of OSS license in projects, Addicted typo generator/fixer and also a Retrogaming tool developer for rom cheats with GGGG and GBAATM-Rebirth.

Recent releases (for project)

Download now for free!

On my blog

More on daniele.tech

Downloads for my book

Latest edition total (GitHub) downloads:

1273๐ŸŽ‰!


๐ŸคŒ Thanks to everyone (from ๐Ÿ‡ฎ๐Ÿ‡น)

Pick your copy clicking on the image above!

Mte90's github stats

dl-telegram-by-file-attachment's People

Contributors

edmael avatar gmellini avatar mte90 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

Watchers

 avatar  avatar

dl-telegram-by-file-attachment's Issues

Private channels

Can you implement api_id / api_hash, so its possible to download from private channels?

Improve project readme

Sorry to post here but
can you explain how to use it?
thank you

where to put the files etc.

Error in some channels

When downloading on some channels, some files are downloaded but then this error shows up and it stops. Further attempts always the same.

Traceback (most recent call last):
File "C:\tools\winpython\WPy32-3920\tools\DL-Telegram-by-file-attachment\downloader.py", line 44, in
if 'document' in message['media'] and re.search(term, message['media']['document']['attributes'][0]['file_name'], re.IGNORECASE):
KeyError: 'file_name'

Filters for specific files

Hello and first let me say thanks for this. I was wondering if it is possible to use filters to match certain files/titles. Could you explain how i could use this to monitor a channel and auto download all files titled "free.pdf"

I presume i could just set this to run on cron or something.

Thanks

doesn't work, can you help me?

Traceback (most recent call last):
  File ".\downloader.py", line 35, in <module>
    r = urlopen(url)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 525, in open
    response = self._open(req, data)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 543, in _open
    '_open', req)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 503, in _call_chain
    result = func(*args)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 1362, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 1319, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 1252, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 1263, in _send_request
    self.putrequest(method, url, **skips)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 1114, in putrequest
    self._validate_path(url)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 1205, in _validate_path
    raise InvalidURL(f"URL can't contain control characters. {url!r} "
http.client.InvalidURL: URL can't contain control characters. '/json/"libros calidadโ„ข๐Ÿ“š3.0"/1?limit=100' (found at least ' ')```

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.