This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

GoogleNews does not respond

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
P
PePiNo
Voice
Posts: 5
Joined: Sat Jul 17, 2021 6:55 pm

GoogleNews does not respond

Post by PePiNo »

It does not respond to anything. if activated in the chanset. but it does not work
Can some TCL god help me?

Code: Select all

  06:29:19   「PePiNo」 !chanset +BlackNews  
  06:29:20   「@google」 activado set +BlackNews  
  06:30:33   「PePiNo」 !bnews pepino
  06:30:53   「PePiNo」 !bnews help
  06:31:20   「PePiNo」 !bnews country usa
  06:31:40   「PePiNo」 !bnews lang en
  06:31:49   「PePiNo」 !bnews version

Code: Select all

#############################################################################
## BlackNews.tcl 1.1  (04/08/2019)                                                 ##
##                                                                         ##
##                              Copyright 2008 - 2019 @ WwW.TCLScripts.NET ##
##         _   _   _   _   _   _   _   _   _   _   _   _   _   _           ##
##        / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \          ##
##       ( T | C | L | S | C | R | I | P | T | S | . | N | E | T )         ##
##        \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/          ##
##                                                                         ##
##                       ® BLaCkShaDoW Production ®                        ##
##                                                                         ##
##                                PRESENTS                                 ##
##                                                                                                           ® ##
############################   BLACK NEWS TCL   #############################
##                                                                                                             ##
##  DESCRIPTION:                                                                                       ##
##  Uses google news to print, on channels in real-time, the worldwide news##
##  published by the most important websites from all over the web.        ##
##  You can see different kinds of news covered by the same keywords, from ##
##  different sources or writted in different languages.                   ##
##                                                                                                             ##
##  Tested on Eggdrop v1.8.3 (Debian Linux) Tcl version: 8.6.6             ##
##                                                                                                             ##
#############################################################################
##                                                                                                         ##
##  INSTALLATION:                                                                                  ##
##  ++ http, json & tls packages are REQUIRED for this script to work.     ##
##  ++ Edit BlackNews.tcl script & place it into your /scripts directory.  ##
##  ++ add "source scripts/BlackNews.tcl" to your eggdrop.conf & rehash.   ##
##                                                                                                         ##
#############################################################################
##                                                                                                             ##
##  OFFICIAL LINKS:                                                        ##
##   E-mail      : BLaCkShaDoW[at]tclscripts.net                           ##
##   Bugs report : http://www.tclscripts.net                               ##
##   GitHub page : https://github.com/tclscripts/                                      ##
##   Online help : irc://irc.undernet.org/tcl-help                         ##
##                 #TCL-HELP / UnderNet                                    ##
##                 You can ask in english or romanian                      ##
##                                                                                                             ##
##     paypal.me/DanielVoipan = Please consider a donation. Thanks!        ##
##                                                                                                             ##
#############################################################################
##                                                                                                             ##
##           You want a customised TCL Script for your eggdrop?            ##
##               Easy-peasy, just tell me what you need!                   ##
##  I can create almost anything in TCL based on your ideas and donations. ##
##    Email blackshadow@tclscripts.net or info@tclscripts.net with your    ##
##      request informations and I'll contact you as soon as possible.     ##
##                                                                                                             ##
#############################################################################
##                                                                                                         ##
##  COMMANDS:                                                              ##
##                                                                                                         ##
##  To activate:                                                           ##
##  .chanset +BlackNews | from BlackTools: .set #channel +BlackNews        ##
##                                                                         ##
##  !bnews [?|help] - shows all available commands.                        ##
##                                                                         ##
##  !bnews max <no.> - set maximum number of news to output.               ##
##                                                                         ##
##  !bnews <search terms> - shows a <no.> of news matching that criteria.  ##
##                                                                                                         ##
##  !bnews save <keywords> [l=lang] [m=<max>] [c=<country>]                ##    
##                                                                                                         ##
##  !bnews list - prints a list with saved news keywords.                  ##
##                                                                                                         ##
##  !bnews country <country abbrev.> - defines default country for news.   ##
##                                                                                                         ##
##  !bnews del <keywords> - removes <keywords> from automatic news output. ##
##                                                                                                         ##
##  !bnews lang [ro|en] - sets the language for script messages.           ##
##                                                                                                         ##
##  !bnews newslang [ro|en] - sets the language for output articles.       ##
##                                                                         ##
##  !bnews version - returns the script version.                           ##
##                                                                         ##
#############################################################################
##                                                                         ##
##  EXAMPLES:                                                              ##
##                                                                                                             ##
## <user> !bnews lang en                                                   ##
## -bot- [NEWS] Set default script language as: en (English).              ##
##                                                                         ##
## <user> !bnews newslang en                                               ##
## -bot- [NEWS] Set default news language as: en (English).                ##
##                                                                         ##
## Search for a specific keyword(s):                                       ##
## <user> !bnews google                                                    ##
## <bot> www.forbes.com (google): Buy Amazon, Apple And Google Slowly      ##
##       http://tinyurl.com/yafffla5 ; Date: Sun, 25 Nov 2018 19:09:49 GMT ##
## <bot> www.theverge.com (google): Google settled with a contractor after ##
##       complaints of racial profiling - http://tinyurl.com/ybn9xnst      ##
##       Date: Sun, 25 Nov 2018 19:56:31 GMT                               ##
## <bot> searchengineland.com (google): Google showing zero results again  ##
##       for many time, calculations & conversions search results          ##
##       http://tinyurl.com/y8azvt2p ; Date: Mon, 26 Nov 2018 01:00:15 GMT ##
##                                                                         ##
## List saved news keyword(s):                                             ##
## <user> !bnews list                                                      ##
## -bot- [NEWS] #1. KeyWord: dragnea ; Lang: ro ; Country: - ; Max: 3      ##
## -bot- [NEWS] #4. KeyWord: btc ; Lang: en ; Country: - ; Max: 3          ##
## -bot- [NEWS] #5. KeyWord: brexit ; Lang: ro ; Country: - ; Max: 3       ##
## -bot- [NEWS] #6. KeyWord: coindesk ; Lang: en ; Country: - ; Max: 3     ##
##                                                                         ##
#############################################################################
##                                                                                                         ##
##  PERSONAL AND NON-COMMERCIAL USE LIMITATION.                            ##
##                                                                         ##
##  This program is provided on an "as is" and "as available" basis,       ##
##  with ABSOLUTELY NO WARRANTY. Use it at your own risk.                  ##
##                                                                         ##
##  Use this code for personal and NON-COMMERCIAL purposes ONLY.           ##
##                                                                         ##
##  Unless otherwise specified, YOU SHALL NOT copy, reproduce, sublicense, ##
##  distribute, disclose, create derivatives, in any way ANY PART OF       ##
##  THIS CONTENT, nor sell or offer it for sale.                           ##
##                                                                         ##
##  You will NOT take and/or use any screenshots of this source code for   ##
##  any purpose without the express written consent or knowledge of author.##
##                                                                         ##
##  You may NOT alter or remove any trademark, copyright or other notice   ##
##  from this source code.                                                 ##
##                                                                         ##
##              Copyright 2008 - 2018 @ WwW.TCLScripts.NET                 ##
##                                                                         ##
#############################################################################
 
#############################################################################
##                              CONFIGURATIONS                             ##
#############################################################################
###
# Tooken
#Visit https://gapi.xyz/ to get your free key now  ;-)
#
set blacknews(tooken) "ec102abe207f8513c3348bb75360b39"
###
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

How can we possibly help you, when you haven't showed any code :lol:

Paste the full script, then we can try help you :wink:
ComputerTech
Post Reply